Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Dec 2014 20:54:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 195653] elftoolchain strip(1) corrupts PT_TLS segment
Message-ID:  <bug-195653-8-skYo3eSaM0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195653-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195653-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195653

--- Comment #1 from Ed Maste <emaste@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195653-8-skYo3eSaM0>