https://sourceware.org/bugzilla/show_bug.cgi?id=29998
--- Comment #16 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Nick Clifton <ni...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f3d8ae90b23695d86ebf894a4a6b95846007fafd commit f3d8ae90b23695d86ebf894a4a6b95846007fafd Author: Nick Clifton <ni...@redhat.com> Date: Tue Jan 24 09:47:43 2023 +0000 Fix seg-fault when generating an empty DLL with LTO enabled. ld PR 29998 * pe-dll.c (generate_reloc): Handle sections with no assigned output section. Terminate early of there are no relocs to put in the .reloc section. (pe_exe_fill_sections): Do not emit an empty .reloc section. bfd * cofflink.c (_bfd_coff_generic_relocate_section): Add an assertion that the output section is set for defined, global symbols. -- You are receiving this mail because: You are on the CC list for the bug.