diff options
author | Alan Modra <amodra@gmail.com> | 2017-02-22 08:10:58 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-02-22 08:44:41 +1030 |
commit | 6528b6eba85f044667876a2ad77d4612a9e5fc65 (patch) | |
tree | 2f8b669ea8177a1d29ba53b18b8ed5c62af5dd61 /bfd/ChangeLog | |
parent | 1b90b1390679473dd84416e462afa1587769ceec (diff) | |
download | gdb-6528b6eba85f044667876a2ad77d4612a9e5fc65.zip gdb-6528b6eba85f044667876a2ad77d4612a9e5fc65.tar.gz gdb-6528b6eba85f044667876a2ad77d4612a9e5fc65.tar.bz2 |
PowerPC ld segfault on script discarding dynamic sections
bfd/
* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Don't segfault
on .got or .plt output section being discarded by script.
* elf32-ppc.c (ppc_elf_finish_dynamic_sections): Likewise. Move
vxworks splt temp.
gold/
* powerpc.cc (Target_powerpc::make_iplt_section): Check that
output_section exists before attempting add_output_section_data.
(Target_powerpc::make_brlt_section): Likewise.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ac3f160..cf5c41b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2017-02-22 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Don't segfault + on .got or .plt output section being discarded by script. + * elf32-ppc.c (ppc_elf_finish_dynamic_sections): Likewise. Move + vxworks splt temp. + 2017-02-21 Alan Modra <amodra@gmail.com> * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only emit |