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: Is 64-bit PowerPC disabled on Cygwin Hosts?


On Fri, Oct 06, 2017 at 08:23:40AM -0500, Joel Sherrill wrote:
> In looking farther, it looks like configure.ac is not target
> aware but relies on want64 to be set in config.bfd. We always
> want64=yes for powerpc*-*-rtems* so this work and trip
> the logic in configure.ac. Is this an acceptable solution?

Yes, in fact I was going to suggest this patch if this is how you want
your targets to behave.

> diff --git a/bfd/config.bfd b/bfd/config.bfd
> index dc24aab..ab21ec6 100644
> --- a/bfd/config.bfd
> +++ b/bfd/config.bfd
> @@ -1393,6 +1393,11 @@ case "${targ}" in
>      targ_defvec=powerpc_elf32_vec
>      targ_selvecs="rs6000_xcoff_vec powerpc_elf32_le_vec powerpc_boot_vec"
>      targ64_selvecs="powerpc_elf64_vec powerpc_elf64_le_vec"
> +    case "${targ}" in
> +      powerpc*-*-rtems*)
> +        want64=true
> +        ;;
> +    esac
>      ;;
>    powerpc-*-kaos*)
>      targ_defvec=powerpc_elf32_vec
> 
> 
> --joel

-- 
Alan Modra
Australia Development Lab, IBM


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