aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-05-28 08:41:56 +0930
committerAlan Modra <amodra@gmail.com>2019-05-28 10:55:41 +0930
commit586338b839d3f65d22eb3baef41f7395974f1f11 (patch)
treebfad34ec6b3a599675f821d82202dbf8a71cc56f /bfd/ChangeLog
parenta7b34aba62ce347b4e64ca197a5c8b997e3b72df (diff)
downloadgdb-586338b839d3f65d22eb3baef41f7395974f1f11.zip
gdb-586338b839d3f65d22eb3baef41f7395974f1f11.tar.gz
gdb-586338b839d3f65d22eb3baef41f7395974f1f11.tar.bz2
HPPA64 linker segmentation faults
One of the ld tests produces: failed with: <Segmentation fault>, no expected output FAIL: Discarded dynamic relocation section This patch cures the segv. (The test still fails with ld producing a really messed up output, DT_RELA at address 0!) PR 24596 * elf64-hppa.c (elf64_hppa_finalize_dynreloc): Get the output bfd from bfd_link_info, not an output section owner. (elf64_hppa_finish_dynamic_symbol, elf64_hppa_finalize_opd): Likewise. (elf_hppa_final_link_relocate): Likewise.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 254ebcb..72da0df 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,6 +1,14 @@
2019-05-28 Alan Modra <amodra@gmail.com>
PR 24596
+ * elf64-hppa.c (elf64_hppa_finalize_dynreloc): Get the output bfd
+ from bfd_link_info, not an output section owner.
+ (elf64_hppa_finish_dynamic_symbol, elf64_hppa_finalize_opd): Likewise.
+ (elf_hppa_final_link_relocate): Likewise.
+
+2019-05-28 Alan Modra <amodra@gmail.com>
+
+ PR 24596
* aout-tic30.c (MY_bfd_final_link): Don't segfault on missing
create_object_symbols_section, obj_textsec, obj_datasec or
obj_bsssec. Fix other errors in placement.