[Bug gold/12324] GOLD do not diagnoze when non-PIC code is linked into shared library

2010-12-15 Thread jh at suse dot de
http://sourceware.org/bugzilla/show_bug.cgi?id=12324 --- Comment #2 from jh at suse dot de 2010-12-15 13:39:18 UTC --- With GNU ld I get: /abuild/jh/trunk-install/bin/gcc -O3 -flto -flto-partition=none -fuse-linker-plugin -shared -Wl,-soname -Wl,libnspr4.so -o libnspr4.so ./prvrsion.o io/./p

[Bug gold/12324] GOLD do not diagnoze when non-PIC code is linked into shared library

2010-12-15 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12324 --- Comment #3 from Ian Lance Taylor 2010-12-15 14:27:03 UTC --- But GNU ld is wrong here. There is absolutely nothing wrong with resolving a R_X86_64_PC32 reloc when creating a shared library. There is no need to recompile with -fPIC if the

[Bug gold/12324] GOLD do not diagnoze when non-PIC code is linked into shared library

2010-12-15 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12324 --- Comment #4 from Ian Lance Taylor 2010-12-15 14:43:15 UTC --- Wait, sorry, I'm wrong; there are cases where R_X86_64_PC32 can't be used in a shared library. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email

[Bug gold/12324] GOLD do not diagnoze when non-PIC code is linked into shared library

2010-12-15 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12324 --- Comment #5 from cvs-commit at gcc dot gnu.org 2010-12-15 15:35:31 UTC --- CVSROOT:/cvs/src Module name:src Changes by:i...@sourceware.org2010-12-15 15:35:28 Modified files: gold : ChangeLog x86_64.cc gold

[Bug gold/12324] GOLD do not diagnoze when non-PIC code is linked into shared library

2010-12-15 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12324 Ian Lance Taylor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug ld/12291] "ld -r" doesn't work with mixed IR/non-IR objects

2010-12-15 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12291 H.J. Lu changed: What|Removed |Added AssignedTo|unassigned at sources dot |hjl.tools at gmail dot com

[Bug binutils/12325] New: ar --target isn't documented

2010-12-15 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12325 Summary: ar --target isn't documented Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassig...@s

[Bug ld/12327] New: x86 relocatable kernel is broken

2010-12-15 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12327 Summary: x86 relocatable kernel is broken Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassig...@sou

[Bug ld/12327] x86 relocatable kernel is broken

2010-12-15 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12327 H.J. Lu changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #1 from