summaryrefslogtreecommitdiffstats
path: root/libelf/ChangeLog
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2015-11-26 14:58:01 +0100
committerMark Wielaard <[email protected]>2015-11-26 16:06:51 +0100
commitc8a5bd002b1d0491cda948b39a14e61ec0fee812 (patch)
treefee76378254e6c7881deed225634ed58245cf5b3 /libelf/ChangeLog
parenta652df9957a83e55a487da8b24c53bdc47edb68c (diff)
libelf: Make elf_strptr index correctly into compressed section data.upstream/mjw/compress3
elf_strptr indexes into the section data. This is defined as index into the uncompressed data of the section. If the section is compressed make sure the uncompressed data is available, but don't really decompress the section header (elf_getdata will still return compressed data). Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libelf/ChangeLog')
-rw-r--r--libelf/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/libelf/ChangeLog b/libelf/ChangeLog
index 35221a65..95070755 100644
--- a/libelf/ChangeLog
+++ b/libelf/ChangeLog
@@ -1,3 +1,13 @@
+2015-11-26 Mark Wielaard <[email protected]>
+
+ * elf_compress.c (__libelf_decompress_elf): New function, extracted
+ from...
+ (elf_compress): here. Check zdata_base use __libelf_decompress_elf.
+ * elf_strptr.c (elf_strptr): If SHF_COMPRESSED check, uncompress and
+ use zdata.
+ * libelfP.h (struct Elf_Scn): Add zdata_size and zdata_align.
+ (__libelf_decompress_elf): New internal function definition.
+
2015-10-21 Mark Wielaard <[email protected]>
* Makefile.am (libelf_a_SOURCES): Add elf_compress.c and