diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-08-04 15:38:19 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-08-04 15:38:19 +0000 |
commit | 9528995e3fcc43f07664e68355812574d6f5c2a8 (patch) | |
tree | 90b9d072d420de0fbb4f90a93cb29b294a83e3c6 /llvm/test/Scripts | |
parent | db0b9f12645992bf730b3230efa3bd79a6a98b1b (diff) | |
download | bcm5719-llvm-9528995e3fcc43f07664e68355812574d6f5c2a8.tar.gz bcm5719-llvm-9528995e3fcc43f07664e68355812574d6f5c2a8.zip |
print st_other with the correct number of bits.
llvm-svn: 136877
Diffstat (limited to 'llvm/test/Scripts')
-rwxr-xr-x | llvm/test/Scripts/elf-dump | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Scripts/elf-dump b/llvm/test/Scripts/elf-dump index d335e69b437..09a167c5687 100755 --- a/llvm/test/Scripts/elf-dump +++ b/llvm/test/Scripts/elf-dump @@ -108,7 +108,7 @@ def dumpSymtab(f, section, strtab): st_type = (st_info & 0xf, 4) print " ('st_bind', %s)" % common_dump.HexDump(st_bind[0], st_bind[1]) print " ('st_type', %s)" % common_dump.HexDump(st_type[0], st_type[1]) - print " ('st_other', %s)" % common_dump.HexDump(f.read8()) + print " ('st_other', %s)" % common_dump.HexDump(f.read8(), 8) print " ('st_shndx', %s)" % common_dump.HexDump(f.read16()) if f.is64Bit: print " ('st_value', %s)" % common_dump.HexDump(f.read64(), 64) |