This is the mail archive of the
mailing list for the binutils project.
Re: --as-needed change wrt undefined weak symbols
On Mon, Jan 14, 2013 at 6:23 PM, Alan Modra <email@example.com> wrote:
> On Mon, Jan 14, 2013 at 07:30:54AM -0800, H.J. Lu wrote:
>> Given then the behavior of pr14862 is changed,
>> I don't think it is a good idea.
> You added a testcase in November last year that (possibly
> accidentally) depends on the current --as-needed behaviour for weak
> references. Now you claim that testcase as a reason to not change
> --as-needed. How is that a reasonable objection?
It shows that this patch will change the behavior of some
programs. Adding DT_NEEDED is one thing. Change
program behavior is another. I don't think we should do it