[Bug gold/10219] Can't get stab symbols when linking with gold
--- Additional Comments From thestig at google dot com 2009-06-26 18:17 --- Works for me. -- What|Removed |Added Status|RESOLVED|VERIFIED http://sourceware.org/bugzilla/show_bug.cgi?id=10219 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/10337] New: strip breaks statically linked binaries with .rela.plt section
On --enable-multiarch configured glibc if I do: elf/ldconfig --version; \ /usr/src/binutils/obj/binutils/strip-new elf/ldconfig; \ elf/ldconfig --version I get: ldconfig (GNU libc) 2.10.90 Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Andreas Jaeger. unexpected reloc type in static binaryAborted Before stripping we have: ... [ 2] .note.gnu.build-id NOTE00400178 000178 24 00 A 0 0 4 [ 3] .rela.plt RELA004001a0 0001a0 30 18 A 0 5 8 [ 4] .init PROGBITS004001d0 0001d0 18 00 AX 0 0 4 [ 5] .plt PROGBITS004001e8 0001e8 20 00 AX 0 0 4 ... 1373: 004001d0 0 NOTYPE LOCAL HIDDEN3 __rela_iplt_end 1374: 006b1030 0 NOTYPE LOCAL HIDDEN 17 __fini_array_end 1375: 004001a0 0 NOTYPE LOCAL HIDDEN3 __rela_iplt_start after stripping: [ 2] .note.gnu.build-id NOTE00400178 000178 24 00 A 0 0 4 [ 3] .plt PROGBITS004001e8 0001e8 20 00 AX 0 0 4 [ 4] .rela.plt RELA 0b6588 00 18 0 3 8 [ 5] .init PROGBITS004001d0 0001d0 18 00 AX 0 0 4 (note non-allocated RELA section) and all 48 bytes between 0x1a0 and 0x1d0 in the file are cleared. -- Summary: strip breaks statically linked binaries with .rela.plt section Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: jakub at redhat dot com CC: bug-binutils at gnu dot org GCC target triplet: x86_64-linux http://sourceware.org/bugzilla/show_bug.cgi?id=10337 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/10338] New: Incorrect stab symbols when linking with gold
This is a follow up to bug 10219. I have a slightly more complicated test case that works with ld but fails with gold. gcc -m32 -gstabs foo.c abcdefghijklmnopqrstuvwxyz/bar.c -o foo; dump_syms foo outputs: MODULE Linux x86 14CA077E2EEA0AD8414217ED5D9862B70 foo FILE 0 foo.c FILE 1 abcdefghijklmnopqrstuvwxyz/bar.c FUNC 3a4 30 0 main 3a4 11 5 0 3b5 c 6 0 3c1 5 7 0 3c6 5 8 0 3cb 9 9 0 FUNC 3d4 14 0 bar 3d4 6 4 1 3da c 5 1 3e6 2 6 1 gcc -m32 -gstabs foo.c abcdefghijklmnopqrstuvwxyz/bar.c -o foo -B/path/to/gold; dump_syms foo outputs: MODULE Linux x86 FE9F1B283112582FEBD35996C677C4160 foo FILE 0 foo.c FILE 1 foo.c FUNC 1e4 30 0 main 1e4 11 5 0 1f5 c 6 0 201 5 7 0 206 5 8 0 20b 9 9 0 FUNC 214 14 0 ijklmnopqrstuvwxyz/bar.c 214 6 4 1 21a c 5 1 226 2 6 1 -- Summary: Incorrect stab symbols when linking with gold Product: binutils Version: 2.20 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold AssignedTo: ian at airs dot com ReportedBy: thestig at google dot com CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=10338 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/10338] Incorrect stab symbols when linking with gold
--- Additional Comments From thestig at google dot com 2009-06-26 20:53 --- Created an attachment (id=4024) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4024&action=view) test case -- http://sourceware.org/bugzilla/show_bug.cgi?id=10338 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/10287] Test tls_shared_gnu2_test failed
-- What|Removed |Added AssignedTo|ian at airs dot com |ccoutant at google dot com http://sourceware.org/bugzilla/show_bug.cgi?id=10287 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/10287] Test tls_shared_gnu2_test failed
-- What|Removed |Added CC||ian at airs dot com http://sourceware.org/bugzilla/show_bug.cgi?id=10287 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils