aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ELF
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-10-02 18:53:48 +0000
committerChris Lattner <sabre@nondot.org>2010-10-02 18:53:48 +0000
commitb539b76038ed072be886a1b29fdcd1623b6ad897 (patch)
tree6c917acec0c88952b2970cb22957d33adabe8ab8 /test/MC/ELF
parent90b12590b6b907f8c3d83bd48e218990b5f1ed53 (diff)
downloadexternal_llvm-b539b76038ed072be886a1b29fdcd1623b6ad897.zip
external_llvm-b539b76038ed072be886a1b29fdcd1623b6ad897.tar.gz
external_llvm-b539b76038ed072be886a1b29fdcd1623b6ad897.tar.bz2
actually, move the elf tests into the existing elf dir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115416 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ELF')
-rw-r--r--test/MC/ELF/elf_directive_previous.s13
-rw-r--r--test/MC/ELF/elf_directive_section.s23
2 files changed, 36 insertions, 0 deletions
diff --git a/test/MC/ELF/elf_directive_previous.s b/test/MC/ELF/elf_directive_previous.s
new file mode 100644
index 0000000..5db1eac
--- /dev/null
+++ b/test/MC/ELF/elf_directive_previous.s
@@ -0,0 +1,13 @@
+# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
+
+.bss
+# CHECK: .bss
+
+.text
+# CHECK: .text
+
+.previous
+# CHECK: .bss
+
+.previous
+# CHECK: .text
diff --git a/test/MC/ELF/elf_directive_section.s b/test/MC/ELF/elf_directive_section.s
new file mode 100644
index 0000000..9531c02
--- /dev/null
+++ b/test/MC/ELF/elf_directive_section.s
@@ -0,0 +1,23 @@
+# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
+
+ .bss
+# CHECK: .bss
+
+ .data.rel.ro
+# CHECK: .data.rel.ro
+
+ .data.rel
+# CHECK: .data.rel
+
+ .eh_frame
+# CHECK: .eh_frame
+
+ .rodata
+# CHECK: .rodata
+
+ .tbss
+# CHECK: .tbss
+
+ .tdata
+# CHECK: .tdata
+