[binutils-gdb] PR21132, hppa-linux pie support doesn't work

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Thu Feb 16 13:04:00 GMT 2017


*** 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.



More information about the Gdb-testers mailing list