diff options
author | Alan Modra <amodra@gmail.com> | 2015-01-29 19:38:28 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-02-09 14:06:27 +1030 |
commit | 989f98793c06132bb5cdc2f7807b7eee5108342f (patch) | |
tree | 55837e1e0a367fa4492dcde295e84c9ed2465cef /gdb/btrace.h | |
parent | ca4be51cd81b0bfff2ada60c98e7c67c936045b7 (diff) | |
download | gdb-989f98793c06132bb5cdc2f7807b7eee5108342f.zip gdb-989f98793c06132bb5cdc2f7807b7eee5108342f.tar.gz gdb-989f98793c06132bb5cdc2f7807b7eee5108342f.tar.bz2 |
Don't segfault or assert on NULL tls_sec
Real code won't hit these, but it's possible to contrive a testcase..
* elf32-ppc.c (ppc_elf_relocate_section): Don't segfault on NULL
tls_sec.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elflink.c (elf_link_output_extsym): Don't assert on NULL tls_sec.
Diffstat (limited to 'gdb/btrace.h')
0 files changed, 0 insertions, 0 deletions