On Tue, Sep 29, 2015 at 05:13:30PM +0200, Mark Wielaard wrote:
When e_version is EV_NONE we should set it to EV_CURRENT like we do
for
the EI_VERSION and like we set EI_DATA to the correct byte order when set
to ELFDATANONE. Likewise we should always set e_shentsize like we do for
e_phentsize, not just when ELF_F_LAYOUT isn't set.
Add a new elfshphehdr testcase to check the above.
I pushed this to master.