diff options
author | Alan Modra <amodra@gmail.com> | 2015-12-02 18:49:53 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-12-02 19:18:27 +1030 |
commit | c27b8c2aeb369972f4f9f98f390607694c56a127 (patch) | |
tree | 57157b60744cf9596ad4ee8981fd58275a290e1e /ld/configure | |
parent | 3395762edd7232d976179b232c93cd901b739367 (diff) | |
download | gdb-c27b8c2aeb369972f4f9f98f390607694c56a127.zip gdb-c27b8c2aeb369972f4f9f98f390607694c56a127.tar.gz gdb-c27b8c2aeb369972f4f9f98f390607694c56a127.tar.bz2 |
Fix powerpc64 segfault caused by zero r_symndx relocs.
Fixes a segfault in ppc64_elf_tls_optimize found when testing
R_PPC64_ENTRY, and potential for trouble in other places found by
code inspection.
* elf64-ppc.c (ppc64_elf_tls_optimize): Don't segfault on NULL
symbol section or output section.
(ppc64_elf_edit_toc): Similarly for ld -R objects.
(ppc64_elf_size_stubs): Likewise.
Diffstat (limited to 'ld/configure')
0 files changed, 0 insertions, 0 deletions