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 | 251a2bbfb00ceb254d7ac1d35ae975ad9e2145cf (patch) | |
tree | 8d401bcf8d314e7d2b086c73013258a3ed59084b /test/Scripts | |
parent | 8036586229e3e2eac29af435ab325b89019a1097 (diff) | |
download | llvm-251a2bbfb00ceb254d7ac1d35ae975ad9e2145cf.tar.gz llvm-251a2bbfb00ceb254d7ac1d35ae975ad9e2145cf.tar.bz2 llvm-251a2bbfb00ceb254d7ac1d35ae975ad9e2145cf.tar.xz |
print st_shndx with the correct number of bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Scripts')
-rwxr-xr-x | test/Scripts/elf-dump | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Scripts/elf-dump b/test/Scripts/elf-dump index 09a167c568..bc6ed80592 100755 --- a/test/Scripts/elf-dump +++ b/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) |