--enable-targets=all is broken

Hans-Peter Nilsson hp@bitrange.com
Sat Jun 8 07:29:00 GMT 2002


On Sat, 8 Jun 2002, Alan Modra wrote:
> On Sat, Jun 08, 2002 at 09:56:47PM +0930, Alan Modra wrote:
> > Only those targets mentioned by targ_defvec= lines in config.bfd find
> > their way into targmatch.h, so bfd_elf64_sh64_vec isn't in
> > targets.c:bfd_target_match[] and elf64-sh64.o is not pulled from
> > libbfd.a.  --enable-targets=all is obviously not working as intended.
>
> OK, so why aren't these targets in _bfd_target_vector?

No reason I recall, as I mentioned in another message.

> @@ -811,6 +811,10 @@ static const bfd_target * const _bfd_tar
>          &bfd_elf32_shlin_vec,
>  	&bfd_elf32_shlnbsd_vec,
>  	&bfd_elf32_shnbsd_vec,
> +	&bfd_elf32_sh64_vec,
> +	&bfd_elf32_sh64l_vec,
> +	&bfd_elf32_sh64lnbsd_vec,
> +	&bfd_elf32_sh64nbsd_vec,

Thanks.  I think there should be an #ifdef BFD64 around those.

brgds, H-P



More information about the Binutils mailing list