diff options
| author | Mark Wielaard <[email protected]> | 2016-02-04 09:53:41 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2016-02-10 11:27:18 +0100 |
| commit | 22035605b9da4a6ee07385c0e7715fe8d35488a4 (patch) | |
| tree | 2090af6d955f9e78ebdc4fc515c20d531b0c5ee7 /tests/ChangeLog | |
| parent | 203f0a3eec8c630c5183fb9984d66339c1ea3c31 (diff) | |
libelf: elf_getdata should not adjust alignment for SHT_NOBITS sections.
In commit c0748e "libelf: More checking of valid sh_addralign values." we
adjusted bogus alignment of data buffers if they were greater than the
offset of the data in the file. This works OK, except when there is no
data in the file. So make sure to not adjust any NOBITS sections.
Also adds a test that shows the issue and makes sure elflint is called
with --gnu in run-strip-test.sh.
https://bugzilla.redhat.com/show_bug.cgi?id=1303845
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/ChangeLog')
| -rw-r--r-- | tests/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 37f98112..a043ade6 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,13 @@ +2016-02-04 Mark Wielaard <[email protected]> + + * run-strip-nobitsalign.sh: New test. + * testfile-nobitsalign.bz2: New testfile. + * testfile-nobitsalign.strip.bz2: Likewise. + * Makefile.am (TESTS): Add run-strip-nobitsalign.sh. + (EXTRA_DIST): Add run-strip-nobitsalign.sh, testfile-nobitsalign.bz2 + and testfile-nobitsalign.strip.bz2. + * run-strip-test.sh: Add --gnu to elflint calls. + 2016-01-13 Mark Wielaard <[email protected]> * dwfl-bug-fd-leak.c: Skip test unless on __linux__. |
