diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-08-04 15:50:13 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-08-04 15:50:13 +0000 |
commit | 9bc32a96be8e90a39d8e1722420e76951dd8ed65 (patch) | |
tree | aa4bf4f4acdb1b6581c5a641b49bfb2dc04c94d1 /llvm/test/Scripts | |
parent | 49b236a705d8d7619a4b5fcc12329e32e75b2a46 (diff) | |
download | bcm5719-llvm-9bc32a96be8e90a39d8e1722420e76951dd8ed65.tar.gz bcm5719-llvm-9bc32a96be8e90a39d8e1722420e76951dd8ed65.zip |
print st_shndx with the correct number of bits.
llvm-svn: 136880
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 09a167c5687..bc6ed805924 100755 --- a/llvm/test/Scripts/elf-dump +++ b/llvm/test/Scripts/elf-dump @@ -109,7 +109,7 @@ def dumpSymtab(f, section, strtab): 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(), 8) - print " ('st_shndx', %s)" % common_dump.HexDump(f.read16()) + print " ('st_shndx', %s)" % common_dump.HexDump(f.read16(), 16) if f.is64Bit: print " ('st_value', %s)" % common_dump.HexDump(f.read64(), 64) print " ('st_size', %s)" % common_dump.HexDump(f.read64(), 64) |