From 9528995e3fcc43f07664e68355812574d6f5c2a8 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 4 Aug 2011 15:38:19 +0000 Subject: print st_other with the correct number of bits. llvm-svn: 136877 --- llvm/test/Scripts/elf-dump | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/test/Scripts') 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) -- cgit v1.2.3