[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: [Bug lto/42757] lto1 does not emit common symbols with -fuse-linker-plugin
From: "ccoutant at gcc dot gnu dot org" <gcc-bugzilla () gcc ! gnu ! org>
Date: 2010-03-31 23:40:28
Message-ID: 20100331234028.1353.qmail () sourceware ! org
[Download RAW message or body]
------- 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic