This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: --enable-targets=all is broken
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: <binutils at sources dot redhat dot com>
- Date: Sat, 8 Jun 2002 10:29:40 -0400 (EDT)
- Subject: Re: --enable-targets=all is broken
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