summaryrefslogtreecommitdiffstats
path: root/tests/ChangeLog
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2017-03-27 17:01:57 +0200
committerMark Wielaard <[email protected]>2017-04-04 00:03:27 +0200
commita3bf8f0852d0f66911dcf879c5a1fcff3cb4cb46 (patch)
tree27ee0205ab34f687d5bdde106e8a70217f1d67a3 /tests/ChangeLog
parent8dcc4bf791469a32c3a09ebcc23b309bf75c795f (diff)
libelf: Always update last_offset in updatefile and updatemmap.
When ELF section data was used, but not updated or marked as dirty and there also existed non-dirty sections and some padding was needed between the sections (possibly because of alignment) then elf_update might write "fill" over some of the existing data. This happened because in that case the last_position was not updated correctly. Includes a new testcase fillfile that fails before this patch by showing fill instead of the expected data in some section data. It succeeds with this patch. https://sourceware.org/bugzilla/show_bug.cgi?id=21199 Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/ChangeLog')
-rw-r--r--tests/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index e6656c75..0df0bae4 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,10 @@
+2017-03-27 Mark Wielaard <[email protected]>
+
+ * fillfile.c: New file.
+ * Makefile.am (check_PROGRAMS): Add fillfile.
+ (TESTS): Likewise.
+ (fillfile_LDADD): New variable.
+
2017-02-15 Mark Wielaard <[email protected]>
* Makefile.am (EXTRA_DIST): Add testfileppc64attrs.o.bz2.