Generate a PT_PHDR entry for static PIE binaries. Modern GDB needs this to
authorkettenis <kettenis@openbsd.org>
Tue, 13 Jan 2015 20:05:01 +0000 (20:05 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 13 Jan 2015 20:05:01 +0000 (20:05 +0000)
commitd0ecbbac0e905ebf6768deb9dfacd9c7f9a63f2e
treedf9de9e5b856fcbe430c54ec36903db642ca066d
parent8692bcf07edfddf2b25b397d2c839c7365e0bc90
Generate a PT_PHDR entry for static PIE binaries.  Modern GDB needs this to
do some sanity checking while it determines the load base.

ok kurt@
gnu/usr.bin/binutils/bfd/elf-bfd.h
gnu/usr.bin/binutils/bfd/elf.c
gnu/usr.bin/binutils/bfd/elflink.c