diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-08 10:30:16 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-01-08 10:40:18 -0500 |
commit | d31fecf37cc540c563e97085f1416129f51d3055 (patch) | |
tree | 21779ce633c0780761fb8c048a2d7f67b56d7876 /bfd/version.h | |
parent | f464485579f8e0a22e87aaa568b7ed4b3ec13ee3 (diff) |
hurd: Add enough auxv support for AT_ENTRY for PIE binaries
Add PIE support for hurd, by faking an AT_ENTRY auxv entry. That value
is expected to be read by svr4_exec_displacement, which will propagate
the executable displacement.
gdb/ChangeLog:
* gdb/gnu-nat.c: Include <elf.h> and <link.h>.
(gnu_xfer_auxv): New function.
(gnu_xfer_partial): Call gnu_xfer_auxv when `object' is
TARGET_OBJECT_AUXV.
Diffstat (limited to 'bfd/version.h')
0 files changed, 0 insertions, 0 deletions