RFC: Remove sec->name and bfd_section_name

Alan Modra amodra@bigpond.net.au
Tue May 25 04:56:00 GMT 2004


On Mon, May 24, 2004 at 08:33:51AM -0700, H. J. Lu wrote:
> We should use bfd_section_ident for the section identifier. I will
> change bfd_section_ident to a target function later so that it will
> support multiple sections with the same name.

I think this is heading in the wrong direction.  As far as possible, the
bfd linker functions should be ignoring section names.  In particular,
places that currently use a section name to infer linker behaviour
controlled by a link script should be fixed, not hacked around.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list