On Tue, 2015-05-12 at 15:19 +0200, Mark Wielaard wrote:
Creating phdr with more than PN_XNUM phnum requires a valid section
zero
shdr to store the extended value. Make sure the shdrs are valid. Also fix
the error when count was too big to store by setting ELF_E_INVALID_INDEX
before failing.
Pushed to master.