------- Comment #10 from ccoutant at gcc dot gnu dot org 2010-03-31 23:40
-------
Created an attachment (id=20267)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20267&action=view)
Gold patch to fix common symbol handling
This gold patch ought to fix the problem. Please verify and I'll send it
upstream to binutils.
* plugin.cc (Pluginobj::get_symbol_resolution_info): Check for
prevailing definitions of common symbols.
* testsuite/plugin_test_6.sh: New testcase.
* testsuite/plugin_common_test_1.c: New testcase.
* testsuite/plugin_common_test_2.c: New testcase.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42757