[PATCH][GOLD] Let a weak reference override a dynamic weak reference.

Ian Lance Taylor iant@google.com
Sat Aug 28 01:01:00 GMT 2010


"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



More information about the Binutils mailing list