Generate a PT_PHDR entry for static PIE binaries. Modern GDB needs this to
authorkettenis <kettenis@openbsd.org>
Tue, 13 Jan 2015 20:05:43 +0000 (20:05 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 13 Jan 2015 20:05:43 +0000 (20:05 +0000)
commitb17ce193d0001dff4c15abae924a5d5a6e8dac22
treef8f633932753c806c82cfc9f5d7ab5da00ad50c8
parentd0ecbbac0e905ebf6768deb9dfacd9c7f9a63f2e
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-2.17/bfd/elf-bfd.h
gnu/usr.bin/binutils-2.17/bfd/elf.c
gnu/usr.bin/binutils-2.17/bfd/elflink.c