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: [PATCH] PR ld/19636: [x86] Resolve undefweak and defined symbols in executable


On Wed, Feb 24, 2016 at 8:52 AM, Michael Matz <matz@suse.de> wrote:
> Hi,
>
> On Wed, 24 Feb 2016, H.J. Lu wrote:
>
>> >> It is in the same boat as LD_DYNAMIC_WEAK in ld.so. If one wants the
>> >> old behavior, use -z dynamic-undefined-weak.
>> >
>> > That doesn't make sense to me.  Why should one suddenly have to use an
>> > option to get useful behaviour that one got since about forever
>> > before?
>>
>> My change will make ld guarantees the consistent behavior, regardless
>> PIC or non-PIC.
>
> As you keep repeating this, I'll do so as well: yes, and you resolved that
> consistency into the wrong direction, break PIC and non-PIC, instead of
> fixing both.  That makes no sense, just because there are broken
> circumstances should not make us break all others as well.

You keep saying non-PIC is broken, which I disagree.

-- 
H.J.


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