aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ELF/basic-elf-64.s
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-03-20 18:44:20 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-03-20 18:44:20 +0000
commit7c18fa87a4d4ed8b0cfe1ec65597c748c6d91ca9 (patch)
tree805831560fd2335ffc166f53d3852bacd28e9c67 /test/MC/ELF/basic-elf-64.s
parenta201c4c2e604a519665ca55dc49e913628444ddb (diff)
downloadexternal_llvm-7c18fa87a4d4ed8b0cfe1ec65597c748c6d91ca9.zip
external_llvm-7c18fa87a4d4ed8b0cfe1ec65597c748c6d91ca9.tar.gz
external_llvm-7c18fa87a4d4ed8b0cfe1ec65597c748c6d91ca9.tar.bz2
Write the section table and the section data in the same order that
gun as does. This makes it a lot easier to compare the output of both as the addresses are now a lot closer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127972 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ELF/basic-elf-64.s')
-rw-r--r--test/MC/ELF/basic-elf-64.s34
1 files changed, 17 insertions, 17 deletions
diff --git a/test/MC/ELF/basic-elf-64.s b/test/MC/ELF/basic-elf-64.s
index 7fc40b7..5ae1f45 100644
--- a/test/MC/ELF/basic-elf-64.s
+++ b/test/MC/ELF/basic-elf-64.s
@@ -39,23 +39,6 @@ main: # @main
// CHECK: # '.text'
-// CHECK: ('st_bind', 0x00000000)
-// CHECK: ('st_type', 0x00000003)
-
-// CHECK: ('st_bind', 0x00000000)
-// CHECK: ('st_type', 0x00000003)
-
-// CHECK: ('st_bind', 0x00000000)
-// CHECK: ('st_type', 0x00000003)
-
-// CHECK: # 'main'
-// CHECK-NEXT: ('st_bind', 0x00000001)
-// CHECK-NEXT: ('st_type', 0x00000002)
-
-// CHECK: # 'puts'
-// CHECK-NEXT: ('st_bind', 0x00000001)
-// CHECK-NEXT: ('st_type', 0x00000000)
-
// CHECK: # '.rela.text'
// CHECK: ('_relocations', [
@@ -80,3 +63,20 @@ main: # @main
// CHECK: ('r_addend', 0xfffffffc)
// CHECK: ),
// CHECK: ])
+
+// CHECK: ('st_bind', 0x00000000)
+// CHECK: ('st_type', 0x00000003)
+
+// CHECK: ('st_bind', 0x00000000)
+// CHECK: ('st_type', 0x00000003)
+
+// CHECK: ('st_bind', 0x00000000)
+// CHECK: ('st_type', 0x00000003)
+
+// CHECK: # 'main'
+// CHECK-NEXT: ('st_bind', 0x00000001)
+// CHECK-NEXT: ('st_type', 0x00000002)
+
+// CHECK: # 'puts'
+// CHECK-NEXT: ('st_bind', 0x00000001)
+// CHECK-NEXT: ('st_type', 0x00000000)