This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] Symbols in discarded sections.
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