This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: ld/1485: --enable-targets=all doesn't work for 64bit target


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]