diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-08-31 19:45:35 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-08-31 19:45:35 +0000 |
commit | f3b97dbc2d55e31fc4bf1ca33b03bbc556b0be59 (patch) | |
tree | 7907427f86dfb1304e994f6c05ac35fa16133e52 /gnu/usr.bin | |
parent | 422ddc23c4e88892762a10dd2ec29b43ff3b98ab (diff) |
Add a DT_DEBUG tag to PIEs as well.
ok pascal@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/binutils/bfd/elf32-hppa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/bfd/elf32-hppa.c b/gnu/usr.bin/binutils/bfd/elf32-hppa.c index e8905ea1738..d9171688111 100644 --- a/gnu/usr.bin/binutils/bfd/elf32-hppa.c +++ b/gnu/usr.bin/binutils/bfd/elf32-hppa.c @@ -2238,7 +2238,7 @@ elf32_hppa_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED, must add the entries now so that we get the correct size for the .dynamic section. The DT_DEBUG entry is filled in by the dynamic linker and used by the debugger. */ - if (!info->shared) + if (info->executable) { if (!add_dynamic_entry (DT_DEBUG, 0)) return FALSE; |