+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
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.
#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
/* 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)