This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: --as-needed change wrt undefined weak symbols


On Mon, Jan 14, 2013 at 6:23 PM, Alan Modra <amodra@gmail.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
by default.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]