From 9acebb8a99e519c40f0f3fb419c9adbb1c2c8209 Mon Sep 17 00:00:00 2001 From: Bin Cheng Date: Fri, 23 Sep 2011 09:42:13 +0000 Subject: [PATCH] bpabi.h (BE8_LINK_SPEC): Add cortex-m arch and processors. 2011-09-23 Bin Cheng * config/arm/bpabi.h (BE8_LINK_SPEC): Add cortex-m arch and processors. From-SVN: r179115 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/bpabi.h | 9 +++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1ca11135363..096dcabf112 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-09-23 Bin Cheng + + * config/arm/bpabi.h (BE8_LINK_SPEC): Add cortex-m arch + and processors. + 2011-09-22 Maxim Kuvyrkov * ipa-prop.c (ipa_print_node_jump_functions): Fix typos. diff --git a/gcc/config/arm/bpabi.h b/gcc/config/arm/bpabi.h index 7b5ee623107..20ff2f82929 100644 --- a/gcc/config/arm/bpabi.h +++ b/gcc/config/arm/bpabi.h @@ -55,8 +55,13 @@ #define TARGET_FIX_V4BX_SPEC " %{mcpu=arm8|mcpu=arm810|mcpu=strongarm*"\ "|march=armv4|mcpu=fa526|mcpu=fa626:--fix-v4bx}" -#define BE8_LINK_SPEC " %{mbig-endian:%{march=armv7-a|mcpu=cortex-a5"\ - "|mcpu=cortex-a8|mcpu=cortex-a9|mcpu=cortex-a15:%{!r:--be8}}}" +#define BE8_LINK_SPEC \ + " %{mbig-endian:%{march=armv7-a|mcpu=cortex-a5 \ + |mcpu=cortex-a8|mcpu=cortex-a9|mcpu=cortex-a15 \ + |march=armv7-m|mcpu=cortex-m3 \ + |march=armv7e-m|mcpu=cortex-m4 \ + |march=armv6-m|mcpu=cortex-m0 \ + :%{!r:--be8}}}" /* Tell the assembler to build BPABI binaries. */ #undef SUBTARGET_EXTRA_ASM_SPEC -- 2.30.2