This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: --as-needed change wrt undefined weak symbols
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Mon, 18 Mar 2013 13:11:30 +1030
- Subject: Re: --as-needed change wrt undefined weak symbols
- References: <20130114035805.GF3244@bubble.grove.modra.org> <CAMe9rOr9pmgn=ARZn_kEcJvAm4yHpyDmgxq=7_XHRVs7pzOopQ@mail.gmail.com> <20130115022340.GO3244@bubble.grove.modra.org> <CAMe9rOrOBPOHkQpPzYjC=OBgwq4bF29zDTTWidW20RJ5Y-F3tA@mail.gmail.com> <20130115052328.GQ3244@bubble.grove.modra.org> <CAMe9rOqcu7_-aAkkF=im56KsQ9Ypb6YkmmogcZDoswkNsaPPqg@mail.gmail.com>
http://sourceware.org/ml/binutils/2013-01/msg00188.html
bfd/
PR ld/12549
elflink.c (elf_link_add_object_symbols): Exclude weak refs when
considering whether an --as-needed library is needed.
ld/
* ld.texinfo (--as-needed): Update.
ld/testsuite/
* ld-elf/pr14862.out: Expect no output.
I'm committing the above patch. Apologies to the bug reporter that
it's taken so long.
--
Alan Modra
Australia Development Lab, IBM