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 NOTE 0000000000400178 000178 000024 00 A 0 0 4 [ 3] .rela.plt RELA 00000000004001a0 0001a0 000030 18 A 0 5 8 [ 4] .init PROGBITS 00000000004001d0 0001d0 000018 00 AX 0 0 4 [ 5] .plt PROGBITS 00000000004001e8 0001e8 000020 00 AX 0 0 4 ... 1373: 00000000004001d0 0 NOTYPE LOCAL HIDDEN 3 __rela_iplt_end 1374: 00000000006b1030 0 NOTYPE LOCAL HIDDEN 17 __fini_array_end 1375: 00000000004001a0 0 NOTYPE LOCAL HIDDEN 3 __rela_iplt_start after stripping: [ 2] .note.gnu.build-id NOTE 0000000000400178 000178 000024 00 A 0 0 4 [ 3] .plt PROGBITS 00000000004001e8 0001e8 000020 00 AX 0 0 4 [ 4] .rela.plt RELA 0000000000000000 0b6588 000000 18 0 3 8 [ 5] .init PROGBITS 00000000004001d0 0001d0 000018 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