This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] ARM: Add support for armeb-*-eabi*
- From: Will Newton <will dot newton at linaro dot org>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Mon, 11 Aug 2014 12:38:19 +0100
- Subject: Re: [PATCH] ARM: Add support for armeb-*-eabi*
- Authentication-results: sourceware.org; auth=none
- References: <1407146220-5608-1-git-send-email-will dot newton at linaro dot org>
On 4 August 2014 10:57, Will Newton <will.newton@linaro.org> wrote:
> 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-04 Will Newton <will.newton@linaro.org>
>
> * config.bfd: Default armeb-*-eabi* to big endian.
>
> ld/ChangeLog:
>
> 2014-08-04 Will Newton <will.newton@linaro.org>
>
> * configure.tgt: Default armeb-*-eabi* to big endian.
> ---
> bfd/config.bfd | 2 +-
> ld/configure.tgt | 3 ++-
> 2 files changed, 3 insertions(+), 2 deletions(-)
Ping?
> diff --git a/bfd/config.bfd b/bfd/config.bfd
> index 1950ca0..3272076 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/configure.tgt b/ld/configure.tgt
> index 33fb378..fc99a54 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;;
> --
> 1.9.3
>
--
Will Newton
Toolchain Working Group, Linaro