diff options
| author | Mark Wielaard <[email protected]> | 2015-09-29 17:04:11 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2015-10-05 21:50:51 +0200 |
| commit | 3adda3ce2a83e2733aa0c84da9bb7949413d02fd (patch) | |
| tree | 058bc279d05d01de93eac34fdc7705d720f865e2 /tests/ChangeLog | |
| parent | a3a76e361527b057fc4cf8a8a8ce97a33dd59198 (diff) | |
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 <[email protected]>
Diffstat (limited to 'tests/ChangeLog')
| -rw-r--r-- | tests/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index b8ac61dc..0f8925ea 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,10 @@ +2015-09-29 Mark Wielaard <[email protected]> + + * elfshphehdr.c: New test. + * Makefile.am (check_PROGRAMS): Add elfshphehdr. + (TESTS): Likewise. + (elfshphehdr_LDADD): New variable. + 2015-09-08 Mark Wielaard <[email protected]> * dwfl-proc-attach.c: New test. |
