summaryrefslogtreecommitdiffstats
path: root/libelf/ChangeLog
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2015-12-30 01:39:29 +0100
committerMark Wielaard <mjw@redhat.com>2016-01-06 14:27:10 +0100
commit519c13c9c7fc591609eed405a3e952707c60ec7e (patch)
tree00c3afe184607b9d62f6fd81553de14b90a09bc6 /libelf/ChangeLog
parentf5013e83d5c8fcd9309c8976c3f1167d28cd07aa (diff)
downloadandroid_external_elfutils-519c13c9c7fc591609eed405a3e952707c60ec7e.tar.gz
android_external_elfutils-519c13c9c7fc591609eed405a3e952707c60ec7e.tar.bz2
android_external_elfutils-519c13c9c7fc591609eed405a3e952707c60ec7e.zip
libelf: Make elf_strptr index correctly into compressed section data.
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 <mjw@redhat.com>
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 1e214006..3a1fe91d 100644
--- a/libelf/ChangeLog
+++ b/libelf/ChangeLog
@@ -1,3 +1,13 @@
+2015-11-26 Mark Wielaard <mjw@redhat.com>
+
+ * 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 <mjw@redhat.com>
* Makefile.am (libelf_a_SOURCES): Add elf_compress.c and