--as-needed change wrt undefined weak symbols
Mon Mar 18 13:43:00 GMT 2013
On 18 March 2013 02:41, Alan Modra <email@example.com> wrote:
> PR ld/12549
> elflink.c (elf_link_add_object_symbols): Exclude weak refs when
> considering whether an --as-needed library is needed.
> * ld.texinfo (--as-needed): Update.
> * ld-elf/pr14862.out: Expect no output.
> I'm committing the above patch. Apologies to the bug reporter that
> it's taken so long.
This change looks like it should break the "ELF weak func last DSO"
test in ld/testsuite/ld-elfweak/elfweak.exp but there doesn't seem to
be any change to that file. Is that the test that is referred to in
the thread linked above?
Toolchain Working Group, Linaro
More information about the Binutils