summaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2015-07-29 17:51:27 +0200
committerMark Wielaard <mjw@redhat.com>2015-08-03 13:40:56 +0200
commitf9fc50c3eced243c0648fb0fbfe2c9877c25e1e4 (patch)
tree0ab6567bca68b1f4c6a33e1edd56c41fc24fac7d /src/ChangeLog
parent3496992ae69895dfaa90e1267b7e3c88d12a50cc (diff)
downloadandroid_external_elfutils-f9fc50c3eced243c0648fb0fbfe2c9877c25e1e4.tar.gz
android_external_elfutils-f9fc50c3eced243c0648fb0fbfe2c9877c25e1e4.tar.bz2
android_external_elfutils-f9fc50c3eced243c0648fb0fbfe2c9877c25e1e4.zip
unstrip: Handle debuginfo files with missing SHF_INFO_LINK section flags.
With GCC 5 there might be a .rela.plt section with SHF_INFO_LINK set. Buggy binutils objdump might strip it from the section in the debug file. Ignore such differences for relocation sections and put the flag back if necessary. Also improve the error message a little by only discarding the already matched sections if there is an prelink undo section. Otherwise we will report all sections as not matching if the file wasn't prelinked instead of just the non-matching sections. New testfiles generated by gcc5 and binutils objdump added. Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 632330c9..a0c32fa2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,12 @@
+2015-07-29 Mark Wielaard <mjw@redhat.com>
+
+ * unstrip.c (sections_flags_match): New function.
+ (sections_match): Use sections_flags_match.
+ (find_alloc_sections_prelink): Only clear matched sections if there
+ is an undo section.
+ (copy_elided_sections): Add SHF_INFO_LINK to shdr_mem.sh_flags if
+ necessary.
+
2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
* src/strings.c: Define MAP_POPULATE if not defined already.