aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ELF/common.s
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-08-04 15:10:35 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-08-04 15:10:35 +0000
commitd7c278326f333f41d8ec8d19f817a117e3f11190 (patch)
tree66d6da9391a9eb4e1e637ffa1d18c645742f3182 /test/MC/ELF/common.s
parenta83f8ef9b4d727011ee43743810ef1f6ec12bb81 (diff)
downloadexternal_llvm-d7c278326f333f41d8ec8d19f817a117e3f11190.zip
external_llvm-d7c278326f333f41d8ec8d19f817a117e3f11190.tar.gz
external_llvm-d7c278326f333f41d8ec8d19f817a117e3f11190.tar.bz2
Print st_bind with the correct number of bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136874 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ELF/common.s')
-rw-r--r--test/MC/ELF/common.s12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/MC/ELF/common.s b/test/MC/ELF/common.s
index 6d9c4f7..c6a97a0 100644
--- a/test/MC/ELF/common.s
+++ b/test/MC/ELF/common.s
@@ -9,7 +9,7 @@
.comm common1,1,1
// CHECK: ('st_name', 0x00000001) # 'common1'
-// CHECK-NEXT: ('st_bind', 0x00000000)
+// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: ('st_type', 0x00000001)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx',
@@ -23,7 +23,7 @@
.comm common2,1,1
// CHECK: ('st_name', 0x00000009) # 'common2'
-// CHECK-NEXT: ('st_bind', 0x00000000)
+// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: ('st_type', 0x00000001)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx',
@@ -35,7 +35,7 @@
// CHECK: # Symbol 3
// CHECK-NEXT: (('st_name', 0x00000011) # 'common6'
-// CHECK-NEXT: ('st_bind', 0x00000000)
+// CHECK-NEXT: ('st_bind', 0x0)
// CHECK-NEXT: ('st_type', 0x00000001)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000004)
@@ -48,7 +48,7 @@
.comm common3,4,4
// CHECK: ('st_name', 0x00000019) # 'common3'
-// CHECK-NEXT: ('st_bind', 0x00000001)
+// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: ('st_type', 0x00000001)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff2)
@@ -68,7 +68,7 @@ foo:
.comm common4,40,16
// CHECK: ('st_name', 0x00000025) # 'common4'
-// CHECK-NEXT: ('st_bind', 0x00000001)
+// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: ('st_type', 0x00000001)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff2)
@@ -79,7 +79,7 @@ foo:
// CHECK: # Symbol 9
// CHECK-NEXT: (('st_name', 0x0000002d) # 'common5'
-// CHECK-NEXT: ('st_bind', 0x00000001)
+// CHECK-NEXT: ('st_bind', 0x1)
// CHECK-NEXT: ('st_type', 0x00000001)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff2)