git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136875
91177308-0d34-0410-b5e6-
96231b3b80d8
28 files changed:
; OBJ-NEXT: 'st_value', 0x00000000
; OBJ-NEXT: 'st_size', 0x00000050
; OBJ-NEXT: 'st_bind', 0x0
; OBJ-NEXT: 'st_value', 0x00000000
; OBJ-NEXT: 'st_size', 0x00000050
; OBJ-NEXT: 'st_bind', 0x0
-; OBJ-NEXT: 'st_type', 0x00000001
+; OBJ-NEXT: 'st_type', 0x1
; OBJ-NEXT: 'st_other', 0x00000000
; OBJ-NEXT: 'st_shndx', 0x00000004
; OBJ-NEXT: 'st_other', 0x00000000
; OBJ-NEXT: 'st_shndx', 0x00000004
@CHECK-NEXT: 'st_value', 0x00000001
@CHECK-NEXT: 'st_size', 0x00000000
@CHECK-NEXT: 'st_bind', 0x1
@CHECK-NEXT: 'st_value', 0x00000001
@CHECK-NEXT: 'st_size', 0x00000000
@CHECK-NEXT: 'st_bind', 0x1
-@CHECK-NEXT: 'st_type', 0x00000002
+@CHECK-NEXT: 'st_type', 0x2
// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000001) # 'zed'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000001) # 'zed'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff1)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff1)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000005) # 'bar'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000005) # 'bar'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: # Symbol 6
// CHECK-NEXT: (('st_name', 0x0000000e) # 'bar2'
// CHECK-NEXT: ('st_bind', 0x2)
// CHECK: # Symbol 6
// CHECK-NEXT: (('st_name', 0x0000000e) # 'bar2'
// CHECK-NEXT: ('st_bind', 0x2)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000004)
// CHECK-NEXT: ('st_value', 0x0000000000000005)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000004)
// CHECK-NEXT: ('st_value', 0x0000000000000005)
// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000005) # 'bar'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000005) # 'bar'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 2
// CHECK-NEXT: (('st_name', 0x0000001d) # 'bar4'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 2
// CHECK-NEXT: (('st_name', 0x0000001d) # 'bar4'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000002)
+// CHECK-NEXT: ('st_type', 0x2)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 3
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 3
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 4
// CHECK-NEXT: (('st_name', 0x0000000e) # 'foo3'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 4
// CHECK-NEXT: (('st_name', 0x0000000e) # 'foo3'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000018) # 'foo4'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000018) # 'foo4'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000002)
+// CHECK-NEXT: ('st_type', 0x2)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: # Symbol 9
// CHECK-NEXT: (('st_name', 0x00000013) # 'bar3'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK: # Symbol 9
// CHECK-NEXT: (('st_name', 0x00000013) # 'bar3'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: # Symbol 10
// CHECK-NEXT: (('st_name', 0x00000009) # 'bar2'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK: # Symbol 10
// CHECK-NEXT: (('st_name', 0x00000009) # 'bar2'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: ])
// CHECK: ('st_bind', 0x0)
// CHECK: ])
// CHECK: ('st_bind', 0x0)
-// CHECK: ('st_type', 0x00000003)
+// CHECK: ('st_type', 0x3)
// CHECK: ('st_bind', 0x0)
// CHECK: ('st_bind', 0x0)
-// CHECK: ('st_type', 0x00000003)
+// CHECK: ('st_type', 0x3)
// CHECK: ('st_bind', 0x0)
// CHECK: ('st_bind', 0x0)
-// CHECK: ('st_type', 0x00000003)
+// CHECK: ('st_type', 0x3)
// CHECK: # 'main'
// CHECK: ('st_bind', 0x1)
// CHECK: # 'main'
// CHECK: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000002)
+// CHECK-NEXT: ('st_type', 0x2)
// CHECK: # 'puts'
// CHECK: ('st_bind', 0x1)
// CHECK: # 'puts'
// CHECK: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK: ])
// CHECK: ('st_bind', 0x0)
// CHECK: ])
// CHECK: ('st_bind', 0x0)
-// CHECK: ('st_type', 0x00000003)
+// CHECK: ('st_type', 0x3)
// CHECK: ('st_bind', 0x0)
// CHECK: ('st_bind', 0x0)
-// CHECK: ('st_type', 0x00000003)
+// CHECK: ('st_type', 0x3)
// CHECK: ('st_bind', 0x0)
// CHECK: ('st_bind', 0x0)
-// CHECK: ('st_type', 0x00000003)
+// CHECK: ('st_type', 0x3)
// CHECK: # 'main'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK: # 'main'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000002)
+// CHECK-NEXT: ('st_type', 0x2)
// CHECK: # 'puts'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK: # 'puts'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000001) # 'g1'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000001) # 'g1'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000007)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000007)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 2
// CHECK-NEXT: (('st_name', 0x00000004) # 'g2'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 2
// CHECK-NEXT: (('st_name', 0x00000004) # 'g2'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000002)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000002)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: # Symbol 13
// CHECK-NEXT: (('st_name', 0x00000007) # 'g3'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK: # Symbol 13
// CHECK-NEXT: (('st_name', 0x00000007) # 'g3'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: ('st_name', 0x00000001) # 'common1'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK: ('st_name', 0x00000001) # 'common1'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000001)
+// CHECK-NEXT: ('st_type', 0x1)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx',
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx',
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: ('st_name', 0x00000009) # 'common2'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK: ('st_name', 0x00000009) # 'common2'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000001)
+// CHECK-NEXT: ('st_type', 0x1)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx',
// CHECK-NEXT: ('st_value', 0x0000000000000001)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx',
// CHECK-NEXT: ('st_value', 0x0000000000000001)
// CHECK: # Symbol 3
// CHECK-NEXT: (('st_name', 0x00000011) # 'common6'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK: # Symbol 3
// CHECK-NEXT: (('st_name', 0x00000011) # 'common6'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000001)
+// CHECK-NEXT: ('st_type', 0x1)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000004)
// CHECK-NEXT: ('st_value', 0x0000000000000010)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000004)
// CHECK-NEXT: ('st_value', 0x0000000000000010)
// CHECK: ('st_name', 0x00000019) # 'common3'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK: ('st_name', 0x00000019) # 'common3'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000001)
+// CHECK-NEXT: ('st_type', 0x1)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff2)
// CHECK-NEXT: ('st_value', 0x0000000000000004)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff2)
// CHECK-NEXT: ('st_value', 0x0000000000000004)
// CHECK: ('st_name', 0x00000025) # 'common4'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK: ('st_name', 0x00000025) # 'common4'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000001)
+// CHECK-NEXT: ('st_type', 0x1)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff2)
// CHECK-NEXT: ('st_value', 0x0000000000000010)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff2)
// CHECK-NEXT: ('st_value', 0x0000000000000010)
// CHECK: # Symbol 9
// CHECK-NEXT: (('st_name', 0x0000002d) # 'common5'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK: # Symbol 9
// CHECK-NEXT: (('st_name', 0x0000002d) # 'common5'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000001)
+// CHECK-NEXT: ('st_type', 0x1)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff2)
// CHECK-NEXT: ('st_value', 0x0000000000000004)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff2)
// CHECK-NEXT: ('st_value', 0x0000000000000004)
// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000004)
+// CHECK-NEXT: ('st_type', 0x4)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff1)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff1)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 2
// CHECK-NEXT: (('st_name', 0x00000005) # 'foa'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 2
// CHECK-NEXT: (('st_name', 0x00000005) # 'foa'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: # Symbol 2
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK: # Symbol 2
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000003)
+// CHECK-NEXT: ('st_type', 0x3)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: # Symbol 6
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK: # Symbol 6
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000003)
+// CHECK-NEXT: ('st_type', 0x3)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000005)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000005)
// CHECK: # Symbol 4
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK: # Symbol 4
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000003)
+// CHECK-NEXT: ('st_type', 0x3)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000004)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000004)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000005) # 'baz'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000005) # 'baz'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: (('st_name', 0x00000005) # 'bar'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK: (('st_name', 0x00000005) # 'bar'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000006)
+// CHECK-NEXT: ('st_type', 0x6)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000005)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000005)
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000003)
+// CHECK-NEXT: ('st_type', 0x3)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000004)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000004)
// CHECK: # Symbol 2
// CHECK: (('st_name', 0x00000000) # ''
// CHECK: ('st_bind', 0x0)
// CHECK: # Symbol 2
// CHECK: (('st_name', 0x00000000) # ''
// CHECK: ('st_bind', 0x0)
-// CHECK: ('st_type', 0x00000003)
+// CHECK: ('st_type', 0x3)
// CHECK: ('st_other', 0x00000000)
// CHECK: ('st_shndx', 0x00000001)
// CHECK: ('st_other', 0x00000000)
// CHECK: ('st_shndx', 0x00000001)
// CHECK: # Symbol 2
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK: # Symbol 2
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000003)
+// CHECK-NEXT: ('st_type', 0x3)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: (('st_name', 0x00000001) # 'kernbase'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK: (('st_name', 0x00000001) # 'kernbase'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff1)
// CHECK-NEXT: ('st_value', 0xffffffff80000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff1)
// CHECK-NEXT: ('st_value', 0xffffffff80000000)
// Test that there is an undefined reference to bar
// CHECK: (('st_name', 0x0000000a) # 'bar'
// CHECK-NEXT: ('st_bind', 0x1)
// Test that there is an undefined reference to bar
// CHECK: (('st_name', 0x0000000a) # 'bar'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000013) # 'bar1@zed'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000013) # 'bar1@zed'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 2
// CHECK-NEXT: (('st_name', 0x00000025) # 'bar3@@zed'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 2
// CHECK-NEXT: (('st_name', 0x00000025) # 'bar3@@zed'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 3
// CHECK-NEXT: (('st_name', 0x0000002f) # 'bar5@@zed'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 3
// CHECK-NEXT: (('st_name', 0x0000002f) # 'bar5@@zed'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 4
// CHECK-NEXT: (('st_name', 0x00000001) # 'defined1'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 4
// CHECK-NEXT: (('st_name', 0x00000001) # 'defined1'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x0000000a) # 'defined2'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x0000000a) # 'defined2'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 6
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 6
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000003)
+// CHECK-NEXT: ('st_type', 0x3)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 7
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 7
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000003)
+// CHECK-NEXT: ('st_type', 0x3)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000003)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000003)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 8
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 8
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000003)
+// CHECK-NEXT: ('st_type', 0x3)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000004)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000004)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 9
// CHECK-NEXT: (('st_name', 0x0000004a) # 'g1@@zed'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 9
// CHECK-NEXT: (('st_name', 0x0000004a) # 'g1@@zed'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000014)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000014)
// CHECK-NEXT: # Symbol 10
// CHECK-NEXT: (('st_name', 0x00000042) # 'global1'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 10
// CHECK-NEXT: (('st_name', 0x00000042) # 'global1'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000014)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000014)
// CHECK-NEXT: # Symbol 11
// CHECK-NEXT: (('st_name', 0x0000001c) # 'bar2@zed'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 11
// CHECK-NEXT: (('st_name', 0x0000001c) # 'bar2@zed'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 12
// CHECK-NEXT: (('st_name', 0x00000039) # 'bar6@zed'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 12
// CHECK-NEXT: (('st_name', 0x00000039) # 'bar6@zed'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000006)
+// CHECK-NEXT: ('st_type', 0x6)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000006)
+// CHECK-NEXT: ('st_type', 0x6)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000006)
+// CHECK-NEXT: ('st_type', 0x6)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000006)
+// CHECK-NEXT: ('st_type', 0x6)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000006)
+// CHECK-NEXT: ('st_type', 0x6)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000006)
+// CHECK-NEXT: ('st_type', 0x6)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: ('st_value', 0x00000000)
// CHECK-NEXT: ('st_size', 0x00000000)
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000006)
+// CHECK-NEXT: ('st_type', 0x6)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ),
// CHECK: (('st_name', 0x00000010) # 'foobar'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK: (('st_name', 0x00000010) # 'foobar'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000006)
+// CHECK-NEXT: ('st_type', 0x6)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000005)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000005)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: # Symbol 7
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo1'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK: # Symbol 7
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo1'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000006)
+// CHECK-NEXT: ('st_type', 0x6)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 8
// CHECK-NEXT: (('st_name', 0x00000006) # 'foo2'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 8
// CHECK-NEXT: (('st_name', 0x00000006) # 'foo2'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000006)
+// CHECK-NEXT: ('st_type', 0x6)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 9
// CHECK-NEXT: (('st_name', 0x0000000b) # 'foo3'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 9
// CHECK-NEXT: (('st_name', 0x0000000b) # 'foo3'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000006)
+// CHECK-NEXT: ('st_type', 0x6)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: # Symbol 4
// CHECK-NEXT: (('st_name', 0x00000005) # 'bar'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK: # Symbol 4
// CHECK-NEXT: (('st_name', 0x00000005) # 'bar'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000001)
+// CHECK-NEXT: ('st_type', 0x1)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000002)
+// CHECK-NEXT: ('st_type', 0x2)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: # Symbol 7
// CHECK-NEXT: (('st_name', 0x00000008) # 'sym6'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK: # Symbol 7
// CHECK-NEXT: (('st_name', 0x00000008) # 'sym6'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000001)
+// CHECK-NEXT: ('st_type', 0x1)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
//CHECK: # Symbol 4
//CHECK-NEXT: (('st_name', 0x00000005) # 'bar'
//CHECK-NEXT: ('st_bind', 0x2)
//CHECK: # Symbol 4
//CHECK-NEXT: (('st_name', 0x00000005) # 'bar'
//CHECK-NEXT: ('st_bind', 0x2)
-//CHECK-NEXT: ('st_type', 0x00000000)
+//CHECK-NEXT: ('st_type', 0x0)
//CHECK-NEXT: ('st_other', 0x00000000)
//CHECK-NEXT: ('st_shndx', 0x00000001)
//CHECK-NEXT: ('st_value', 0x0000000000000004)
//CHECK-NEXT: ('st_other', 0x00000000)
//CHECK-NEXT: ('st_shndx', 0x00000001)
//CHECK-NEXT: ('st_value', 0x0000000000000004)
//CHECK-NEXT: # Symbol 5
//CHECK: (('st_name', 0x00000001) # 'foo'
//CHECK-NEXT: ('st_bind', 0x2)
//CHECK-NEXT: # Symbol 5
//CHECK: (('st_name', 0x00000001) # 'foo'
//CHECK-NEXT: ('st_bind', 0x2)
-//CHECK-NEXT: ('st_type', 0x00000000)
+//CHECK-NEXT: ('st_type', 0x0)
//CHECK-NEXT: ('st_other', 0x00000000)
//CHECK-NEXT: ('st_shndx', 0x00000000)
//CHECK-NEXT: ('st_value', 0x0000000000000000)
//CHECK-NEXT: ('st_other', 0x00000000)
//CHECK-NEXT: ('st_shndx', 0x00000000)
//CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: # Symbol 4
// CHECK-NEXT: (('st_name', 0x00000009) # '_GLOBAL_OFFSET_TABLE_'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK: # Symbol 4
// CHECK-NEXT: (('st_name', 0x00000009) # '_GLOBAL_OFFSET_TABLE_'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
// CHECK-NEXT: ('st_bind', 0x2)
// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
// CHECK-NEXT: ('st_bind', 0x2)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 6
// CHECK-NEXT: (('st_name', 0x00000005) # 'zed'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 6
// CHECK-NEXT: (('st_name', 0x00000005) # 'zed'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK: # Symbol 0
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK: # Symbol 0
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000015) # 'bar6'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 1
// CHECK-NEXT: (('st_name', 0x00000015) # 'bar6'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000018)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000018)
// CHECK-NEXT: # Symbol 2
// CHECK-NEXT: (('st_name', 0x0000001a) # 'bar7'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 2
// CHECK-NEXT: (('st_name', 0x0000001a) # 'bar7'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000018)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000018)
// CHECK-NEXT: # Symbol 3
// CHECK-NEXT: (('st_name', 0x0000001f) # 'bar8'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 3
// CHECK-NEXT: (('st_name', 0x0000001f) # 'bar8'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x000000000000001c)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x000000000000001c)
// CHECK-NEXT: # Symbol 4
// CHECK-NEXT: (('st_name', 0x00000024) # 'bar9'
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 4
// CHECK-NEXT: (('st_name', 0x00000024) # 'bar9'
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000020)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000020)
// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 5
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000003)
+// CHECK-NEXT: ('st_type', 0x3)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 6
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 6
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000003)
+// CHECK-NEXT: ('st_type', 0x3)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000003)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000003)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 7
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: # Symbol 7
// CHECK-NEXT: (('st_name', 0x00000000) # ''
// CHECK-NEXT: ('st_bind', 0x0)
-// CHECK-NEXT: ('st_type', 0x00000003)
+// CHECK-NEXT: ('st_type', 0x3)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000004)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000004)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 8
// CHECK-NEXT: (('st_name', 0x00000029) # 'bar10'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 8
// CHECK-NEXT: (('st_name', 0x00000029) # 'bar10'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000028)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000028)
// CHECK-NEXT: # Symbol 9
// CHECK-NEXT: (('st_name', 0x0000002f) # 'bar11'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 9
// CHECK-NEXT: (('st_name', 0x0000002f) # 'bar11'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000030)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000030)
// CHECK-NEXT: # Symbol 10
// CHECK-NEXT: (('st_name', 0x00000035) # 'bar12'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 10
// CHECK-NEXT: (('st_name', 0x00000035) # 'bar12'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000030)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000030)
// CHECK-NEXT: # Symbol 11
// CHECK-NEXT: (('st_name', 0x0000003b) # 'bar13'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 11
// CHECK-NEXT: (('st_name', 0x0000003b) # 'bar13'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000034)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000034)
// CHECK-NEXT: # Symbol 12
// CHECK-NEXT: (('st_name', 0x00000041) # 'bar14'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 12
// CHECK-NEXT: (('st_name', 0x00000041) # 'bar14'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000038)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000038)
// CHECK-NEXT: # Symbol 13
// CHECK-NEXT: (('st_name', 0x00000047) # 'bar15'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 13
// CHECK-NEXT: (('st_name', 0x00000047) # 'bar15'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000040)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000001)
// CHECK-NEXT: ('st_value', 0x0000000000000040)
// CHECK-NEXT: # Symbol 14
// CHECK-NEXT: (('st_name', 0x00000001) # 'bar2'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 14
// CHECK-NEXT: (('st_name', 0x00000001) # 'bar2'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 15
// CHECK-NEXT: (('st_name', 0x00000006) # 'bar3'
// CHECK-NEXT: ('st_bind', 0x2)
// CHECK-NEXT: # Symbol 15
// CHECK-NEXT: (('st_name', 0x00000006) # 'bar3'
// CHECK-NEXT: ('st_bind', 0x2)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 16
// CHECK-NEXT: (('st_name', 0x0000000b) # 'bar4'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 16
// CHECK-NEXT: (('st_name', 0x0000000b) # 'bar4'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: # Symbol 17
// CHECK-NEXT: (('st_name', 0x00000010) # 'bar5'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: # Symbol 17
// CHECK-NEXT: (('st_name', 0x00000010) # 'bar5'
// CHECK-NEXT: ('st_bind', 0x1)
-// CHECK-NEXT: ('st_type', 0x00000000)
+// CHECK-NEXT: ('st_type', 0x0)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000000)
// CHECK-NEXT: ('st_value', 0x0000000000000000)
st_bind = (st_info >> 4, 4)
st_type = (st_info & 0xf, 4)
print " ('st_bind', %s)" % common_dump.HexDump(st_bind[0], st_bind[1])
st_bind = (st_info >> 4, 4)
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], 32)
+ print " ('st_type', %s)" % common_dump.HexDump(st_type[0], st_type[1])
print " ('st_other', %s)" % common_dump.HexDump(f.read8())
print " ('st_shndx', %s)" % common_dump.HexDump(f.read16())
if f.is64Bit:
print " ('st_other', %s)" % common_dump.HexDump(f.read8())
print " ('st_shndx', %s)" % common_dump.HexDump(f.read16())
if f.is64Bit: