ELF: Make first PT_LOAD cover headers
commitf2c8491fc0ecf1870ed4db48029ef32dd3a9fd41
authorMichael Matz <matz@suse.de>
Thu, 3 Apr 2014 16:00:44 +0000 (3 18:00 +0200)
committerMichael Matz <matz@suse.de>
Thu, 3 Apr 2014 16:00:44 +0000 (3 18:00 +0200)
tree1d7110ec4190550d24031c1c1c05bf4869c38d47
parenta913ee6082af6257416bce04e0e5c87894d6bff3
ELF: Make first PT_LOAD cover headers

This makes it so that the first PT_LOAD segment covers
ELF and program header and .interp (contained in the same page anyway,
right before the start of the first loaded section).  binutils
strip creates invalid output otherwise (which strictly is a binutils
bug, but let's be nice anyway).
tccelf.c