From 01e6c1a48d2c56a5e8a78f54b3b2021da42257e7 Mon Sep 17 00:00:00 2001 From: Will Newton Date: Mon, 4 Aug 2014 10:52:04 +0100 Subject: [PATCH] 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 * config.bfd: Default armeb-*-eabi* to big endian. ld/ChangeLog: 2014-08-20 Will Newton * configure.tgt: Default armeb-*-eabi* to big endian. --- bfd/ChangeLog | 4 ++++ bfd/config.bfd | 2 +- ld/ChangeLog | 4 ++++ ld/configure.tgt | 3 ++- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e2a78e4c81..47dea00424 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2014-08-20 Will Newton + + * config.bfd: Default armeb-*-eabi* to big endian. + 2014-08-19 Alan Modra * configure: Regenerate. diff --git a/bfd/config.bfd b/bfd/config.bfd index 1950ca01c5..32720763b0 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 24f61abf4e..94f56b15b1 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2014-08-20 Will Newton + + * configure.tgt: Default armeb-*-eabi* to big endian. + 2014-08-20 Daniel Micay * emultempl/pep.em: Add --high-entropy-va switch. diff --git a/ld/configure.tgt b/ld/configure.tgt index 33fb378a2f..fc99a5445f 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;;