RFC: Add output_bfd to bfd_link_info

Alan Modra amodra@bigpond.net.au
Fri Apr 23 12:40:00 GMT 2004


On Thu, Apr 22, 2004 at 07:47:14PM -0700, H. J. Lu wrote:
> There are a few places where bfd_link_info is modifed to include
> output_bfd. If output_bfd is in bfd_link_info, it is not needed.

You're talking about the last param to elf_link_hash_traverse, aren't
you?  The places I see that pass output_bfd there also need to pass
other extra data, so adding output_bfd to bfd_link_info won't remove the
need for a struct containing a bfd_link_info pointer and other data.

I'm not against the patch, but where do you plan to use
info->output_bfd?

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list