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.
This commit is contained in:
Will Newton 2014-08-04 10:52:04 +01:00
parent aacf0b33aa
commit 01e6c1a48d
4 changed files with 11 additions and 2 deletions

View File

@ -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.

View File

@ -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
;;

View File

@ -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.

View File

@ -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;;