aboutsummaryrefslogtreecommitdiff
path: root/bfd/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 /bfd/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 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 75a2c49..08cc183 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,10 @@
+2023-01-24 Nick Clifton <nickc@redhat.com>
+
+ PR 29998
+ * cofflink.c (_bfd_coff_generic_relocate_section): Add an
+ assertion that the output section is set for defined, global
+ symbols.
+
2023-01-17 Xianmiao Qu <cooper.qu@linux.alibaba.com>
* elf32-csky.c (elf32_csky_merge_attributes): Don't save