This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: [PATCH] ARC: allow non uclibc libs
- From: Claudiu Zissulescu <Claudiu dot Zissulescu at synopsys dot com>
- To: Vineet Gupta <Vineet dot Gupta1 at synopsys dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Cc: Cupertino Miranda <Cupertino dot Miranda at synopsys dot com>
- Date: Thu, 19 May 2016 13:38:56 +0000
- Subject: RE: [PATCH] ARC: allow non uclibc libs
- Authentication-results: sourceware.org; auth=none
- References: <1463664993-3999-1-git-send-email-vgupta at synopsys dot com>
It seems all right to me.
Claudiu
> -----Original Message-----
> From: Vineet Gupta [mailto:vgupta@synopsys.com]
> Sent: Thursday, May 19, 2016 3:37 PM
> To: binutils@sourceware.org
> Cc: Cupertino Miranda; Claudiu.Zissulescu@synopsys.com; Vineet Gupta
> Subject: [PATCH] ARC: allow non uclibc libs
>
> Currently binutils configure script expect uclibc suffic only which
> doesn't allow for glibc (port in works)
>
> bfd/
> * config.bfd: replace uslibc with *
>
> gas/
> * configure.tgt: Ditto
>
> ld/
> * configure.tgt: Ditto
>
> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
> ---
> bfd/config.bfd | 2 +-
> gas/configure.tgt | 2 +-
> ld/configure.tgt | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/bfd/config.bfd b/bfd/config.bfd
> index 7c4eece6b73d..293d26c0ac2e 100644
> --- a/bfd/config.bfd
> +++ b/bfd/config.bfd
> @@ -276,7 +276,7 @@ case "${targ}" in
> targ_defvec=am33_elf32_linux_vec
> ;;
>
> - arc*-*-elf* | arc*-*-linux-uclibc*)
> + arc*-*-elf* | arc*-*-linux-*)
> targ_defvec=arc_elf32_le_vec
> targ_selvecs=arc_elf32_be_vec
> ;;
> diff --git a/gas/configure.tgt b/gas/configure.tgt
> index 75470e40898a..5e271de35e09 100644
> --- a/gas/configure.tgt
> +++ b/gas/configure.tgt
> @@ -131,7 +131,7 @@ case ${generic_target} in
> alpha-*-openbsd*) fmt=elf em=obsd ;;
>
> arc-*-elf*) fmt=elf ;;
> - arc*-*-linux-uclibc*) fmt=elf bfd_gas=yes ;;
> + arc*-*-linux*) fmt=elf bfd_gas=yes ;;
>
> arm-*-aout) fmt=aout ;;
> arm-*-coff) fmt=coff ;;
> diff --git a/ld/configure.tgt b/ld/configure.tgt
> index 1f6db426a734..b367947e8b48 100644
> --- a/ld/configure.tgt
> +++ b/ld/configure.tgt
> @@ -78,7 +78,7 @@ alpha*-*-*vms*) targ_emul=alphavms
> arc*-*-elf*) targ_emul=arcelf
> targ_extra_emuls="arcelf_prof arclinux arclinux_prof
> arcv2elf arcv2elfx"
> ;;
> -arc*-*-linux-uclibc*) targ_emul=arclinux
> +arc*-*-linux*) targ_emul=arclinux
> targ_extra_emuls="arclinux_prof arcelf arcelf_prof
> arcv2elf arcv2elfx"
> ;;
> arm-epoc-pe) targ_emul=arm_epoc_pe ;
> targ_extra_ofiles="deffilep.o pe-dll.o" ;;
> --
> 2.5.0