[PATCH][GOLD] Do not turn a non-weak reference of a weak symbol in DSO to weak.
Ian Lance Taylor
iant@google.com
Thu Aug 12 22:27:00 GMT 2010
"Doug Kwan (關振德)" <dougkwan@google.com> writes:
> 2010-08-11 Cary Coutant <ccoutant@google.com>
> Doug Kwan <dougkwan@google.com>
>
> * resolve.cc (Symbol_table::should_override): When a weak dynamic
> defintion overrides non-weak undef, remember that the original undef
> is not weak.
> * symtab.cc (Symbol_table::sized_write_global): For undef without
> an original weak binding, set binding to global in output.
> * testsuite/Makefile.am: Add new test strong_ref_weak_def.
> * testsuite/Makefile.in: Regenerate.
> * testsuite/strong_ref_weak_def.sh: New file.
> * testsuite/strong_ref_weak_def_1.c: Ditto.
> * testsuite/strong_ref_weak_def_2.c: Ditto.
This is OK.
Thanks.
Ian
More information about the Binutils
mailing list