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 /bfd/ChangeLog | |
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 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 434a403..21ce154 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,12 @@ 2015-02-09 Alan Modra <amodra@gmail.com> + * 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. + +2015-02-09 Alan Modra <amodra@gmail.com> + * elflink.c: Whitespace, formatting fixes. (elf_link_input_bfd): Clarify comment. (elf_link_output_extsym): Exclude symbols in linker created |