bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/18277] New: --compress-debug-sections=zlib may generate larger d


From: hjl.tools at gmail dot com
Subject: [Bug ld/18277] New: --compress-debug-sections=zlib may generate larger debug sections
Date: Fri, 17 Apr 2015 19:58:49 +0000

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

            Bug ID: 18277
           Summary: --compress-debug-sections=zlib may generate larger
                    debug sections
           Product: binutils
           Version: 2.26 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com

Created attachment 8252
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8252&action=edit
A testcase

address@hidden compressed-7]$ make LD=ld z.o
./as   -o compress1.o compress1.s
ld -r -o z.o --compress-debug-sections=zlib compress1.o
address@hidden compressed-7]$ readelf -SW compress1.o | grep .debug_aranges
  [11] .debug_aranges    PROGBITS        0000000000000000 000123 000020 00     
0   0  1
  [12] .rela.debug_aranges RELA            0000000000000000 000320 000030 18  
I 14  11  8
address@hidden compressed-7]$ readelf -SW z.o | grep .debug_aranges
  [ 4] .zdebug_aranges   PROGBITS        0000000000000000 0001ca 000025 00     
0   0  1
  [ 5] .rela.zdebug_aranges RELA            0000000000000000 0001f0 000030 18  
I 14   4  8
address@hidden compressed-7]$ 

.zdebug_aranges is 0x25 bytes vs. 0x20 bytes for .debug_aranges.

-- 
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]