This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] PR21132, hppa-linux pie support doesn't work
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 16 Feb 2017 08:04:40 -0500
- Subject: [binutils-gdb] PR21132, hppa-linux pie support doesn't work
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 247d6c4c14769b7576d810a381a68e35388ee874 ***
Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 247d6c4c14769b7576d810a381a68e35388ee874
PR21132, hppa-linux pie support doesn't work
This fixes a long-standing hppa bug seen when generating PIEs, and I
think possible to trigger with forced local symbols in shared
libraries. Not allocating enough space for PLT relocs results in ld
writing outside of the buffer.
PR 21132
* elf32-hppa.c (allocate_plt_static): Allocate space for relocs
if pic.