PR21132, hppa-linux pie support doesn't work
authorAlan Modra <amodra@gmail.com>
Thu, 16 Feb 2017 01:53:12 +0000 (12:23 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 16 Feb 2017 12:24:36 +0000 (22:54 +1030)
commit247d6c4c14769b7576d810a381a68e35388ee874
tree6657dd55cfe4ea323b1262af43b06058c43ce6fe
parenta48cda7f860584f98825ee6715b0da2adf65bb1a
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.
bfd/ChangeLog
bfd/elf32-hppa.c
This page took 0.024706 seconds and 4 git commands to generate.