[Bug 195653] elftoolchain strip(1) corrupts PT_TLS segment
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 3 20:54:34 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195653
--- Comment #1 from Ed Maste <emaste at freebsd.org> ---
similar cases:
lib/libcrypto.so.7
--- unstripped 2014-12-03 15:52:45.668140759 -0500
+++ stripped 2014-12-03 15:52:45.721733291 -0500
@@ -9,7 +9,7 @@
LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x00000000001ca3a4 0x00000000001ca3a4 R E 200000
LOAD 0x00000000001cb000 0x00000000003cb000 0x00000000003cb000
- 0x0000000000027268 0x0000000000029d50 RW 200000
+ 0x0000000000027268 0x0000000000029d48 RW 200000
DYNAMIC 0x00000000001e3348 0x00000000003e3348 0x00000000003e3348
0x00000000000001a0 0x00000000000001a0 RW 8
GNU_EH_FRAME 0x000000000019b374 0x000000000019b374 0x000000000019b374
@@ -20,7 +20,7 @@
Section to Segment mapping:
Segment Sections...
00 .hash .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r
.rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame
- 01 .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data .bss
+ 01 .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data
02 .dynamic
03 .eh_frame_hdr
04
lib/libc.so.7
--- unstripped 2014-12-03 15:52:45.619139832 -0500
+++ stripped 2014-12-03 15:52:45.620140128 -0500
@@ -13,7 +13,7 @@
DYNAMIC 0x000000000016f168 0x000000000036f168 0x000000000036f168
0x0000000000000190 0x0000000000000190 RW 8
TLS 0x000000000016a000 0x000000000036a000 0x000000000036a000
- 0x0000000000000004 0x00000000000000a0 R 10
+ 0x0000000000000004 0x0000000000000094 R 10
GNU_EH_FRAME 0x0000000000146be4 0x0000000000146be4 0x0000000000146be4
0x000000000000685c 0x000000000000685c R 4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
@@ -24,6 +24,6 @@
00 .hash .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_d
.rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame
01 .tdata .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data
.bss
02 .dynamic
- 03 .tdata .tbss
+ 03 .tdata
04 .eh_frame_hdr
05
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list