bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/21441] New: Unnecessary padding of .eh_frame section


From: hjl.tools at gmail dot com
Subject: [Bug ld/21441] New: Unnecessary padding of .eh_frame section
Date: Thu, 27 Apr 2017 19:31:12 +0000

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

            Bug ID: 21441
           Summary: Unnecessary padding of .eh_frame section
           Product: binutils
           Version: 2.29 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

address@hidden eh-frame-1]$ cat foo.s
        .text
        .globl  foo
        .type   foo, %function
foo:
        .cfi_startproc
        .cfi_endproc
        .size   foo, .-foo
address@hidden eh-frame-1]$ cat bar.s
        .text
        .globl  bar
        .type   bar, %function
bar:
        .cfi_startproc
        .byte 0x90
        .cfi_endproc
        .size   bar, .-bar
address@hidden eh-frame-1]$ make
as   -o foo.o foo.s
as   -o bar.o bar.s
./ld -shared -o foo.so foo.o bar.o
./ld -shared -o bar.so bar.o foo.o
readelf -w foo.so > foo.eh
readelf -w bar.so > bar.eh
diff -up foo.eh bar.eh
--- foo.eh      2017-04-27 12:30:43.466685231 -0700
+++ bar.eh      2017-04-27 12:30:43.467685234 -0700
@@ -13,7 +13,11 @@ Contents of the .eh_frame section:
   DW_CFA_nop
   DW_CFA_nop

-00000018 0000000000000010 0000001c FDE cie=00000000
pc=0000000000000201..0000000000000202
+00000018 0000000000000014 0000001c FDE cie=00000000
pc=0000000000000201..0000000000000202
+  DW_CFA_nop
+  DW_CFA_nop
+  DW_CFA_nop
+  DW_CFA_nop
   DW_CFA_nop
   DW_CFA_nop
   DW_CFA_nop
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 1
address@hidden eh-frame-1]$

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