mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-23 22:23:00 +00:00
Print r_sym with the correct number of bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136873 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -127,7 +127,7 @@ def dumpRel(f, section, dumprela = False):
|
||||
else:
|
||||
r_sym = (r_info >> 8, 24)
|
||||
r_type = (r_info & 0xff, 8)
|
||||
print " ('r_sym', %s)" % common_dump.HexDump(r_sym[0], 32)
|
||||
print " ('r_sym', %s)" % common_dump.HexDump(r_sym[0], r_sym[1])
|
||||
print " ('r_type', %s)" % common_dump.HexDump(r_type[0], r_type[1])
|
||||
if dumprela:
|
||||
val = f.readWord()
|
||||
|
||||
Reference in New Issue
Block a user