This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH][GOLD] Let a weak reference override a dynamic weak reference.
- From: Ian Lance Taylor <iant at google dot com>
- To: Doug Kwan (éæå) <dougkwan at google dot com>
- Cc: Cary Coutant <ccoutant at google dot com>, binutils <binutils at sourceware dot org>
- Date: Fri, 27 Aug 2010 17:49:27 -0700
- Subject: Re: [PATCH][GOLD] Let a weak reference override a dynamic weak reference.
- References: <AANLkTi=UsSQV5KWUJ92Q8nSvERCk3AQBEPxfezjdGNpf@mail.gmail.com>
"Doug Kwan (éæå)" <dougkwan@google.com> writes:
> 2010-08-27 Doug Kwan <dougkwan@google.com>
>
> * gold/resolve.cc (Symbol_table::should_override): Let a weak
> reference override an existing dynamic weak reference.
> * testsuite/Makefile.am: Add new test dyn_weak_ref.
> * testsuite/Makefile.in: Regenerate.
> * testsuite/dyn_weak_ref.sh: New file.
> * testsuite/dyn_weak_ref_1.c: Ditto.
> * testsuite/dyn_weak_ref_2.c: Ditto.
This is OK if GNU ld has the same behaviour--can you check?
Thanks.
This stuff is getting kind of horrible.
Ian