Commit 826a7fa8 authored by Ed Maste's avatar Ed Maste Committed by Chris Lamb
Browse files

Include relocations in objdump disassembly. (Closes: #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's avatarChris Lamb <lamby@debian.org>
parent de05b148
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)