History log of /external/elfutils/tests/elfshphehdr.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c53857b6a8b074c724999009b8d70b6b6e0c0f15 09-Oct-2015 Mark Wielaard <mjw@redhat.com> tests: Rename argument from check to statement in elfshphehdr.c.

Some older compilers warn about a function and argument name being equal.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/elfshphehdr.c
3adda3ce2a83e2733aa0c84da9bb7949413d02fd 29-Sep-2015 Mark Wielaard <mjw@redhat.com> libelf: Always update e_version and e_shentsize in elf_update.

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.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/elfshphehdr.c