summaryrefslogtreecommitdiffstats
path: root/tests/testfile-info-link.debuginfo.bz2
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2015-07-29 17:51:27 +0200
committerMark Wielaard <[email protected]>2015-08-03 13:40:56 +0200
commitf9fc50c3eced243c0648fb0fbfe2c9877c25e1e4 (patch)
tree0ab6567bca68b1f4c6a33e1edd56c41fc24fac7d /tests/testfile-info-link.debuginfo.bz2
parent3496992ae69895dfaa90e1267b7e3c88d12a50cc (diff)
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 <[email protected]>
Diffstat (limited to 'tests/testfile-info-link.debuginfo.bz2')
-rwxr-xr-xtests/testfile-info-link.debuginfo.bz2bin0 -> 1844 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/testfile-info-link.debuginfo.bz2 b/tests/testfile-info-link.debuginfo.bz2
new file mode 100755
index 00000000..3225d19f
--- /dev/null
+++ b/tests/testfile-info-link.debuginfo.bz2
Binary files differ