[Git][reproducible-builds/diffoscope][master] Include relocations in objdump disassembly. (Closes: reproducible-builds/diffoscope#48)
Chris Lamb
gitlab at salsa.debian.org
Tue Feb 12 19:56:43 CET 2019
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
826a7fa8 by Ed Maste at 2019-02-12T18:55:11Z
Include relocations in objdump disassembly. (Closes: reproducible-builds/diffoscope#48)
As reported by Rich Felker via Twitter, having relocations in disassembled
output is necessary for understanding certain types of issues.
Signed-off-by: Chris Lamb <lamby at debian.org>
- - - - -
1 changed file:
- diffoscope/comparators/elf.py
Changes:
=====================================
diffoscope/comparators/elf.py
=====================================
@@ -235,7 +235,7 @@ class ObjdumpDisassembleSection(ObjdumpSection):
# disassembled instructions.
# objdump can get the debugging information from the elf or from the
# stripped symbols file specified in the .gnu_debuglink section
- return ['--line-numbers', '--disassemble', '--demangle']
+ return ['--line-numbers', '--disassemble', '--demangle', '--reloc']
def filter(self, line):
line = super().filter(line)
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/826a7fa81a0ebc90d216cee3baa4774908820c0b
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/826a7fa81a0ebc90d216cee3baa4774908820c0b
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20190212/809853b9/attachment.html>
More information about the rb-commits
mailing list