[Bug gold/11683] GOLD wrongly linked function/var that are converted to static by GCC LTO

2010-06-09 Thread ccoutant at google dot com
--- Additional Comments From ccoutant at google dot com 2010-06-10 01:38 --- I've sent the following patch upstream: http://sourceware.org/ml/binutils/2010-06/msg00137.html -- What|Removed |Added --

[Bug ld/11603] Linker always assumes symbols with '.' are Forwarding RVA

2010-06-09 Thread davek at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-06-09 18:17 --- Subject: Bug 11603 CVSROOT:/cvs/src Module name:src Changes by: da...@sourceware.org2010-06-09 18:17:11 Modified files: ld : pe-dll.c ChangeLog Log message:

[Bug gold/11683] GOLD wrongly linked function/var that are converted to static by GCC LTO

2010-06-09 Thread ian at airs dot com
-- What|Removed |Added CC||ccoutant at google dot com http://sourceware.org/bugzilla/show_bug.cgi?id=11683 --- You are receiving thi

[Bug gold/11683] New: GOLD wrongly linked function/var that are converted to static by GCC LTO

2010-06-09 Thread bmei at broadcom dot com
The following are two test files: a.c #include #include extern int foo(int); void bar() { printf("bar\n"); } extern int src[], dst[]; int vv; int main() { int ret; vv = 12; ret = foo(20); memcpy(dst, src, 100); return ret + 3; } b.c #include int src[100]; int dst[1