[patch] Symbols in discarded sections.

Alan Modra amodra@bigpond.net.au
Wed Dec 1 22:40:00 GMT 2004


On Wed, Dec 01, 2004 at 09:04:01PM +0000, Paul Brook wrote:
> > bfd/
> >  * elflink.c (elf_link_add_object_symbols): Make symbols from discarded
> >  sections undefined.
> > ld/testsuite/
> >  * ld-elf/group1.d: New test.
> >  * ld-elf/group.ld, ld-elf/group1a.s, ld-elf/group1b.s: New test.

I like it.  One nit:

> +	else if (sec->kept_section
> +		 && bfd_is_abs_section (sec->output_section))

The output section test is redundant.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list