diff options
author | Alan Modra <amodra@gmail.com> | 2018-05-22 18:34:18 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-05-22 19:37:06 +0930 |
commit | 215f527155ea776fff3f2f836d5da1e300e8c370 (patch) | |
tree | c4258ef6d72973da9348b87f3c371eee4b6d0134 /gdb/ptrace.m4 | |
parent | 7455c018e45766ab7193cbd45f98f781e0dc7d84 (diff) | |
download | gdb-215f527155ea776fff3f2f836d5da1e300e8c370.zip gdb-215f527155ea776fff3f2f836d5da1e300e8c370.tar.gz gdb-215f527155ea776fff3f2f836d5da1e300e8c370.tar.bz2 |
PR23207, hppa ld SIGSEGVs on invalid object files
The last patch was enough to cure the testcase, but not the original
object file. This patch does the same for hppa as is done for ppc64,
simply test for the section belonging to a group. I've also
restricted stubs to load, alloc, code sections.
PR 23207
* elf32-hppa.c (hppa_get_stub_entry): Return NULL when link_sec
is NULL.
(elf32_hppa_size_stubs): Only create stubs for load, alloc, code
sections.
(final_link_relocate): Revert last change.
Diffstat (limited to 'gdb/ptrace.m4')
0 files changed, 0 insertions, 0 deletions