This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Problems compiling elfxx-sparc.c
Nick Clifton <nickc@redhat.com> writes:
> 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.
No, it also sets wordsize=64, which causes bfd_vma to be 64 bits.
I do see now that there is a special case for mips at the very end of
config.bfd:
case "${targ_defvec} ${targ_selvecs}" in
*bfd_elf64* | *bfd_elf32_n*mips*)
Perhaps we need to add a special case for sparc there as well.
Ian