aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2023-01-24 09:47:43 +0000
committerNick Clifton <nickc@redhat.com>2023-01-24 09:47:43 +0000
commitf3d8ae90b23695d86ebf894a4a6b95846007fafd (patch)
tree7ae978b19ab2400f82a8d1b009b580b84462af45 /ld/ChangeLog
parent59d49a8d83a289624a1dff4e8833f2b7c286d764 (diff)
downloadgdb-f3d8ae90b23695d86ebf894a4a6b95846007fafd.zip
gdb-f3d8ae90b23695d86ebf894a4a6b95846007fafd.tar.gz
gdb-f3d8ae90b23695d86ebf894a4a6b95846007fafd.tar.bz2
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.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f025204..502da5e 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,11 @@
+2023-01-24 Nick Clifton <nickc@redhat.com>
+
+ 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.
+
2023-01-06 Nick Clifton <nickc@redhat.com>
* po/bg.po: Updated Bulgarian translation.