This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: PR ld/15149: Weak reference leads to DT_NEEDED entry
On Fri, Feb 15, 2013 at 5:29 PM, Alan Modra <amodra@gmail.com> wrote:
> On Thu, Feb 14, 2013 at 03:16:32PM -0800, H.J. Lu wrote:
>> We shouldn't add DT_NEEDED for weak references unless asked. This
>> patch implements it. OK to install?
>
> Why are we adding DT_NEEDED for strong references when
> --no-copy-dt-needed-entries is in effect?
>
My first patch was wrong and we issue an error for strong
reference. My latest patch is:
http://sourceware.org/ml/binutils/2013-02/msg00186.html
--
H.J.