diff options
author | Alan Modra <amodra@gmail.com> | 2017-02-16 12:23:12 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-02-17 01:43:57 +1030 |
commit | 8a3cacb06d6ecfbe3ab0e0059bf6a4eb8b4b9dc6 (patch) | |
tree | fb794ac4c4b720df8acf633c1e9247beaa26445a /bfd/cpu-m68hc12.c | |
parent | ea98891679c2528948efd5d5b3835271c53ee915 (diff) | |
download | gdb-8a3cacb06d6ecfbe3ab0e0059bf6a4eb8b4b9dc6.zip gdb-8a3cacb06d6ecfbe3ab0e0059bf6a4eb8b4b9dc6.tar.gz gdb-8a3cacb06d6ecfbe3ab0e0059bf6a4eb8b4b9dc6.tar.bz2 |
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.
Diffstat (limited to 'bfd/cpu-m68hc12.c')
0 files changed, 0 insertions, 0 deletions