aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ELF/common.s
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@freebsd.org>2010-12-20 20:49:43 +0000
committerRoman Divacky <rdivacky@freebsd.org>2010-12-20 20:49:43 +0000
commit1ae3c165f7f6dd265f136d975f255c18de53a960 (patch)
tree9de1b6c6e06c22b93b6e435ee6a6e534b9576a79 /test/MC/ELF/common.s
parent9c0068f0a38597a5914b69a5e1b5a949027a5464 (diff)
downloadexternal_llvm-1ae3c165f7f6dd265f136d975f255c18de53a960.zip
external_llvm-1ae3c165f7f6dd265f136d975f255c18de53a960.tar.gz
external_llvm-1ae3c165f7f6dd265f136d975f255c18de53a960.tar.bz2
Print all 64bits for st_value and st_size. Adjust tests accordingly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122263 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ELF/common.s')
-rw-r--r--test/MC/ELF/common.s24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/MC/ELF/common.s b/test/MC/ELF/common.s
index 0ffa6f4..16b677b 100644
--- a/test/MC/ELF/common.s
+++ b/test/MC/ELF/common.s
@@ -13,8 +13,8 @@
// CHECK-NEXT: ('st_type', 0x00000001)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx',
-// CHECK-NEXT: ('st_value', 0x00000000)
-// CHECK-NEXT: ('st_size', 0x00000001)
+// CHECK-NEXT: ('st_value', 0x0000000000000000)
+// CHECK-NEXT: ('st_size', 0x0000000000000001)
// Same as common1, but with directives in a different order.
@@ -27,8 +27,8 @@
// CHECK-NEXT: ('st_type', 0x00000001)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx',
-// CHECK-NEXT: ('st_value', 0x00000001)
-// CHECK-NEXT: ('st_size', 0x00000001)
+// CHECK-NEXT: ('st_value', 0x0000000000000001)
+// CHECK-NEXT: ('st_size', 0x0000000000000001)
.local common6
.comm common6,8,16
@@ -39,8 +39,8 @@
// CHECK-NEXT: ('st_type', 0x00000001)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x00000003)
-// CHECK-NEXT: ('st_value', 0x00000010)
-// CHECK-NEXT: ('st_size', 0x00000008)
+// CHECK-NEXT: ('st_value', 0x0000000000000010)
+// CHECK-NEXT: ('st_size', 0x0000000000000008)
// CHECK-NEXT: ),
// Test that without an explicit .local we produce a global.
@@ -52,8 +52,8 @@
// CHECK-NEXT: ('st_type', 0x00000001)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff2)
-// CHECK-NEXT: ('st_value', 0x00000004)
-// CHECK-NEXT: ('st_size', 0x00000004)
+// CHECK-NEXT: ('st_value', 0x0000000000000004)
+// CHECK-NEXT: ('st_size', 0x0000000000000004)
// Test that without an explicit .local we produce a global, even if the first
@@ -72,8 +72,8 @@ foo:
// CHECK-NEXT: ('st_type', 0x00000001)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff2)
-// CHECK-NEXT: ('st_value', 0x00000010)
-// CHECK-NEXT: ('st_size', 0x00000028)
+// CHECK-NEXT: ('st_value', 0x0000000000000010)
+// CHECK-NEXT: ('st_size', 0x0000000000000028)
.comm common5,4,4
@@ -83,6 +83,6 @@ foo:
// CHECK-NEXT: ('st_type', 0x00000001)
// CHECK-NEXT: ('st_other', 0x00000000)
// CHECK-NEXT: ('st_shndx', 0x0000fff2)
-// CHECK-NEXT: ('st_value', 0x00000004)
-// CHECK-NEXT: ('st_size', 0x00000004)
+// CHECK-NEXT: ('st_value', 0x0000000000000004)
+// CHECK-NEXT: ('st_size', 0x0000000000000004)
// CHECK-NEXT: ),