diff options
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/config/arm/bpabi.h | 6 | ||||
-rw-r--r-- | gcc/config/arm/linux-eabi.h | 2 |
3 files changed, 14 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a6eb15a..ed8f719 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2013-04-29 Mike Frysinger <vapier@gentoo.org> + + * config/arm/bpabi.h (EABI_LINK_SPEC): Define. + (BPABI_LINK_SPEC): Use new EABI_LINK_SPEC. + * config/arm/linux-eabi.h (LINK_SPEC): Replace BE8_LINK_SPEC + with EABI_LINK_SPEC. + 2013-04-29 Uros Bizjak <ubizjak@gmail.com> PR target/44578 @@ -7,7 +14,7 @@ 2013-04-29 Vladimir Makarov <vmakarov@redhat.com> PR target/57097 - * lra-constraints.c (process_alt_operands): Discourage a bit more + * lra-constraints.c (process_alt_operands): Discourage a bit more using memory for pseudos. Print cost dump for alternatives. Modify cost values for conflicts with early clobbers. (curr_insn_transform): Spill pseudos reassigned to NO_REGS. diff --git a/gcc/config/arm/bpabi.h b/gcc/config/arm/bpabi.h index 8e6683b..ff89633 100644 --- a/gcc/config/arm/bpabi.h +++ b/gcc/config/arm/bpabi.h @@ -91,11 +91,15 @@ #define SUBTARGET_EXTRA_LINK_SPEC "" #endif +/* Split out the EABI common values so other targets can use it. */ +#define EABI_LINK_SPEC \ + TARGET_FIX_V4BX_SPEC BE8_LINK_SPEC + /* The generic link spec in elf.h does not support shared libraries. */ #define BPABI_LINK_SPEC \ "%{mbig-endian:-EB} %{mlittle-endian:-EL} " \ "%{static:-Bstatic} %{shared:-shared} %{symbolic:-Bsymbolic} " \ - "-X" SUBTARGET_EXTRA_LINK_SPEC TARGET_FIX_V4BX_SPEC BE8_LINK_SPEC + "-X" SUBTARGET_EXTRA_LINK_SPEC EABI_LINK_SPEC #undef LINK_SPEC #define LINK_SPEC BPABI_LINK_SPEC diff --git a/gcc/config/arm/linux-eabi.h b/gcc/config/arm/linux-eabi.h index 4a425c8..23671a7 100644 --- a/gcc/config/arm/linux-eabi.h +++ b/gcc/config/arm/linux-eabi.h @@ -80,7 +80,7 @@ /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to use the GNU/Linux version, not the generic BPABI version. */ #undef LINK_SPEC -#define LINK_SPEC BE8_LINK_SPEC \ +#define LINK_SPEC EABI_LINK_SPEC \ LINUX_OR_ANDROID_LD (LINUX_TARGET_LINK_SPEC, \ LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC) |