https://sourceware.org/bugzilla/show_bug.cgi?id=19002
Evgeniy Stepanov <eugeni.stepanov at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eugeni.stepanov at gmail dot com Version|2.25 |2.27 (HEAD) --- Comment #2 from Evgeniy Stepanov <eugeni.stepanov at gmail dot com> --- The same problem is present in the ToT gold. A simpler test case. The input asm contains a single .init_array constructor in its own comdat. $ cat 1.s .text .file "1.ll" .section .text.f,"axG",@progbits,f,comdat .p2align 4, 0x90 .type f,@function f: # @f .cfi_startproc # BB#0: retq .Lfunc_end0: .size f, .Lfunc_end0-f .cfi_endproc .section .init_array.0,"aGw",@init_array,f,comdat .p2align 3 .quad f .section ".note.GNU-stack","",@progbits $ as 1.s -o 1.o $ ld.gold -r -o full.o 1.o 1.o $ ld.bfd -shared full.o -o libfull.so ld: error in full.o(.eh_frame); no .eh_frame_hdr table will be created. The resulting library has an empty (header-only) eh_frame_hdr: 12 .eh_frame_hdr 00000008 00000000000006b0 00000000000006b0 000006b0 2**2 If ld.gold is used instead of ld.bfd in the second link, then there is no error message, but the same end result. -- 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