PR23207, hppa ld SIGSEGVs on invalid object files
authorAlan Modra <amodra@gmail.com>
Mon, 21 May 2018 11:59:25 +0000 (21:29 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 22 May 2018 05:15:15 +0000 (14:45 +0930)
commit7455c018e45766ab7193cbd45f98f781e0dc7d84
tree2a7e93798a208be31ca6c0538389f49fad94798d
parent29e11a0437ec618a8799dd152ee8a7b9bb9c172b
PR23207, hppa ld SIGSEGVs on invalid object files

We don't create PLT call stubs for anything in non-alloc sections,
so it doesn't pay to go looking for them.  The problem is that
non-alloc sections aren't processed by group_sections and thus don't
get a link_sec set up for them.

PR 23207
* elf32-hppa.c (final_link_relocate): Don't look for plt call
stubs in non-alloc sections.
bfd/ChangeLog
bfd/elf32-hppa.c