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:
Rafael Espindola
2011-08-04 14:48:27 +00:00
parent f81f6758f3
commit a83f8ef9b4
8 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -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()