summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-08-04 10:52:04 +0100
committerWill Newton <will.newton@linaro.org>2014-08-20 16:58:36 +0100
commit01e6c1a48d2c56a5e8a78f54b3b2021da42257e7 (patch)
tree9ef9c2f07bea677a552ec9a252b11db00dec975a
parentaacf0b33aa8a55f935be02a6f6a3b3b62f60d14b (diff)
downloadbinutils-gdb-01e6c1a48d2c56a5e8a78f54b3b2021da42257e7.tar.gz
ARM: Add support for armeb-*-eabi*
At the moment it is possible to configure binutils for these triples but the resulting linker defaults to little endian with huge numbers of testsuite failures, which on the face of it does not appear to make much sense. This patch makes the behaviour similar to armeb-elf and the testsuite is clean. bfd/ChangeLog: 2014-08-20 Will Newton <will.newton@linaro.org> * config.bfd: Default armeb-*-eabi* to big endian. ld/ChangeLog: 2014-08-20 Will Newton <will.newton@linaro.org> * configure.tgt: Default armeb-*-eabi* to big endian.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/config.bfd2
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/configure.tgt3
4 files changed, 11 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index e2a78e4c817..47dea00424f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2014-08-20 Will Newton <will.newton@linaro.org>
+
+ * config.bfd: Default armeb-*-eabi* to big endian.
+
2014-08-19 Alan Modra <amodra@gmail.com>
* configure: Regenerate.
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 1950ca01c5f..32720763b00 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -328,7 +328,7 @@ case "${targ}" in
targ_defvec=arm_elf32_le_vec
targ_selvecs=arm_elf32_be_vec
;;
- armeb-*-elf | arm*b-*-freebsd* | arm*b-*-linux-*)
+ armeb-*-elf | arm*b-*-freebsd* | arm*b-*-linux-* | armeb-*-eabi*)
targ_defvec=arm_elf32_be_vec
targ_selvecs=arm_elf32_le_vec
;;
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 24f61abf4e5..94f56b15b1c 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2014-08-20 Will Newton <will.newton@linaro.org>
+
+ * configure.tgt: Default armeb-*-eabi* to big endian.
+
2014-08-20 Daniel Micay <danielmicay@gmail.com>
* emultempl/pep.em: Add --high-entropy-va switch.
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 33fb378a2f8..fc99a5445f8 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -95,7 +95,8 @@ arm-*-netbsd*) targ_emul=armnbsd;
arm-*-nto*) targ_emul=armnto ;;
arm-*-openbsd*) targ_emul=armnbsd ;;
arm-*-rtems*) targ_emul=armelf ;;
-armeb-*-elf) targ_emul=armelfb ;;
+armeb-*-elf | armeb-*-eabi*)
+ targ_emul=armelfb ;;
arm-*-elf | arm*-*-eabi*)
targ_emul=armelf ;;
arm*-*-symbianelf*) targ_emul=armsymbian;;