bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/18308] strip increases file size six times


From: hjl.tools at gmail dot com
Subject: [Bug binutils/18308] strip increases file size six times
Date: Thu, 23 Apr 2015 15:15:21 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18308

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
address@hidden pr18308]$ readelf -lW opendkim-gold2.25-unstripped 

Elf file type is EXEC (Executable file)
Entry point 0x40c0d4
There are 9 program headers, starting at offset 64

Program Headers:
  Type           Offset   VirtAddr           PhysAddr           FileSiz  MemSiz
  Flg Align
  PHDR           0x000040 0x0000000000400040 0x0000000000400040 0x0001f8
0x0001f8 R   0x8
  INTERP         0x000238 0x0000000000400238 0x0000000000400238 0x00001c
0x00001c R   0x1
      [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
  LOAD           0x000000 0x0000000000400000 0x0000000000400000 0x070bb8
0x070bb8 R E 0x1000
  LOAD           0x071c80 0x0000000000471c80 0x0000000000471c80 0x001de0
0x016928 RW  0x203090

0x203090 is a very strange alignment.  I think it is a gold bug.

  DYNAMIC        0x071ca8 0x0000000000471ca8 0x0000000000471ca8 0x000330
0x000330 RW  0x8
  NOTE           0x000254 0x0000000000400254 0x0000000000400254 0x000020
0x000020 R   0x4
  GNU_EH_FRAME   0x06f4e4 0x000000000046f4e4 0x000000000046f4e4 0x0016d4
0x0016d4 R   0x4
  GNU_STACK      0x000000 0x0000000000000000 0x0000000000000000 0x000000
0x000000 RW  0
  GNU_RELRO      0x071c80 0x0000000000471c80 0x0000000000471c80 0x000380
0x000380 RW  0x8

 Section to Segment mapping:
  Segment Sections...
   00     
   01     .interp 
   02     .interp .note.ABI-tag .dynsym .dynstr .gnu.hash .gnu.version
.gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame
.eh_frame_hdr 
   03     .ctors .dtors .jcr .dynamic .got .got.plt .data .bss 
   04     .dynamic 
   05     .note.ABI-tag 
   06     .eh_frame_hdr 
   07     
   08     .ctors .dtors .jcr .dynamic .got 
address@hidden pr18308]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]