aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ELF/merge.s
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-09-27 22:04:54 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-09-27 22:04:54 +0000
commitc3c413f63117896f186fc4385bdaac0578d3613f (patch)
treec04ac19233e85be20f764cd868cf00d72bdbb9d7 /test/MC/ELF/merge.s
parent5acb3de8b7cfd5a104722526b731a3c87bb1a46e (diff)
downloadexternal_llvm-c3c413f63117896f186fc4385bdaac0578d3613f.zip
external_llvm-c3c413f63117896f186fc4385bdaac0578d3613f.tar.gz
external_llvm-c3c413f63117896f186fc4385bdaac0578d3613f.tar.bz2
Write relocations in the end of the file. This matches what gas does and
makes files easier to diff. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114898 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ELF/merge.s')
-rw-r--r--test/MC/ELF/merge.s10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/MC/ELF/merge.s b/test/MC/ELF/merge.s
index 82e1d88..14828d2 100644
--- a/test/MC/ELF/merge.s
+++ b/test/MC/ELF/merge.s
@@ -9,6 +9,11 @@
.text
movsd .Lfoo(%rip), %xmm1
+// Symbol number 1 is .Lfoo
+
+// CHECK: # Symbol 1
+// CHECK-NEXT: (('st_name', 1) # '.Lfoo'
+
// Relocation refers to symbol 1
// CHECK: ('_relocations', [
@@ -19,8 +24,3 @@
// CHECK-NEXT: ('r_addend',
// CHECK-NEXT: ),
// CHECK-NEXT: ])
-
-// Symbol number 1 is .Lfoo
-
-// CHECK: # Symbol 1
-// CHECK-NEXT: (('st_name', 1) # '.Lfoo'