https://sourceware.org/bugzilla/show_bug.cgi?id=17005
--- Comment #1 from Alexander Ivchenko <aivchenk at gmail dot com> --- >objdump -W a32.out a32.out: file format elf32-i386 Contents of the .eh_frame section: 00000000 ZERO terminator 00000004 00000014 00000000 CIE Version: 1 Augmentation: "zR" Code alignment factor: 1 Data alignment factor: -4 Return address column: 8 Augmentation data: 1b DW_CFA_def_cfa: r4 (esp) ofs 4 DW_CFA_offset: r8 (eip) at cfa-4 DW_CFA_nop DW_CFA_nop objdump: Warning: Invalid CIE pointer 0xfffffeb3 in FDE at 0x00001c 0000001c 00000018 fffffeb3 FDE cie=ffffffffff330970 pc=00000000..0000003e DW_CFA_nop... And there are plenty of those invalid CIE pointers. Seems that relocations against ehframe in case of sort-section=name are placed incorrectly (They are 4 bytes behind of the place where there should be - in resulting a32.out binary you can see 4byte-zeros) >objdump -s -j .eh_frame 32/a32.out 32/a32.out: file format elf32-i386 Contents of section .eh_frame: 0884 00000000 14000000 00000000 017a5200 0894 017c0801 1b0c0404 88010000 18000000 08a4 b3feffff 00000000 3e000000 00410e08 08b4 8502420d 05448303 38000000 48ffffff 08c4 00000000 61000000 00410e08 8502410e 08d4 0c870343 0e108604 410e1483 054e0e30 08e4 02480e14 41c30e10 41c60e0c 41c70e08 08f4 41c50e04 10000000 48ffffff 70000000 0904 02000000 00000000 24000000 88000000 0914 3cfcffff 90000000 000e0846 0e0c4a0f 0924 0b740478 003f1a3b 2a322422 00000000 0934 1c000000 00000000 017a504c 52000145 0944 1a079b00 0000001b 1b0c0404 88010000 0954 28000000 45feffff 00000000 520fffff 0964 03000000 00410e08 8502420d 05488603 0974 83040244 c341c641 c50c0404 objdump -s -j .eh_frame 32/b32.out 32/b32.out: file format elf32-i386 Contents of section .eh_frame: 0874 14000000 00000000 017a5200 017c0801 0884 1b0c0404 88010000 18000000 1c000000 0894 a7feffff 3e000000 00410e08 8502420d 08a4 05448303 38000000 38000000 20ffffff 08b4 61000000 00410e08 8502410e 0c870343 08c4 0e108604 410e1483 054e0e30 02480e14 08d4 41c30e10 41c60e0c 41c70e08 41c50e04 08e4 10000000 74000000 54ffffff 02000000 08f4 00000000 24000000 88000000 50fcffff 0904 90000000 000e0846 0e0c4a0f 0b740478 0914 003f1a3b 2a322422 00000000 1c000000 0924 00000000 017a504c 5200017c 08079bc9 0934 1100001b 1b0c0404 88010000 28000000 0944 24000000 31feffff 52000000 040fffff 0954 ff410e08 8502420d 05488603 83040244 0964 c341c641 c50c0404 00000000 -- 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