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: --- [hjl@gnu-6 eh-frame-1]$ cat foo.s .text .globl foo .type foo, %function foo: .cfi_startproc .cfi_endproc .size foo, .-foo [hjl@gnu-6 eh-frame-1]$ cat bar.s .text .globl bar .type bar, %function bar: .cfi_startproc .byte 0x90 .cfi_endproc .size bar, .-bar [hjl@gnu-6 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 [hjl@gnu-6 eh-frame-1]$ -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils