This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Problems compiling elfxx-sparc.c
Hi David,
> Nick Clifton wrote:
Unfortunately that is not enough. All "want64=true" does is to add
"targ64_selvecs" to the list of targets that should be configured. If
targ64_selvecs is empty then nothing new happens.
Actually even that is not enough. The patch I gave fixed building a
"sparc-elf" toolchain but the problem still exists when building a
toolchain configured as --enable-targets=all but without
--enable-64-bit-bfd. ie an all-32-bit target toolchain still needs the
bfd_elf64_sparc_vec.
I really think that it would be better to fix elfxx-sparc.c so that it
does not use elf64_sparc functions when it is only being compiled for
32-bit targets.
Cheers
Nick