This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: ld/1485: --enable-targets=all doesn't work for 64bit target
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 25 May 2006 09:23:09 +0930
- Subject: Re: PATCH: ld/1485: --enable-targets=all doesn't work for 64bit target
- References: <20060524172325.GA4375@lucon.org>
On Wed, May 24, 2006 at 10:23:25AM -0700, H. J. Lu wrote:
> --- ld/configure.in.64 2006-04-14 14:44:46.000000000 -0700
> +++ ld/configure.in 2006-05-24 10:16:18.000000000 -0700
> @@ -169,6 +169,11 @@ do
> EMUL=$targ_emul
> fi
>
> + . ${srcdir}/../bfd/config.bfd
> + case "${targ_defvec}-${targ_selvecs}" in
> + *elf64*) want64=true;;
> + esac
> +
> for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
> case " $all_emuls " in
> *" e${i}.o "*) ;;
Please don't add the case statement here. Instead, set want64 in
config.bfd on each target that has a 64-bit BFD, ie. everything inside
#ifdef BFD64. Patch preapproved with that change. I know there are
some targets that are 64-bit but don't have "elf64" support.
--
Alan Modra
IBM OzLabs - Linux Technology Centre