summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatt Fleming <matt@console-pimps.org>2010-07-23 23:40:41 +0000
committerMatt Fleming <matt@console-pimps.org>2010-07-23 23:40:41 +0000
commit19d92fcae209cbd43d23a080a5166707600c0041 (patch)
tree45991b4dc431a4a9581fac65ae4f86527fb3cfc2 /test
parent448e1874999d2a510d3d2d91f0a17f3a7cb4f4eb (diff)
downloadllvm-19d92fcae209cbd43d23a080a5166707600c0041.tar.gz
llvm-19d92fcae209cbd43d23a080a5166707600c0041.tar.bz2
llvm-19d92fcae209cbd43d23a080a5166707600c0041.tar.xz
Consolidate the ELF section directive tests into a single file as
suggested by Chris Lattner. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109290 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/AsmParser/ELF/directive_section.s23
-rw-r--r--test/MC/AsmParser/ELF/directive_section_bss.s6
-rw-r--r--test/MC/AsmParser/ELF/directive_section_data_rel.s6
-rw-r--r--test/MC/AsmParser/ELF/directive_section_data_rel_ro.s6
-rw-r--r--test/MC/AsmParser/ELF/directive_section_eh_frame.s6
-rw-r--r--test/MC/AsmParser/ELF/directive_section_rodata.s6
-rw-r--r--test/MC/AsmParser/ELF/directive_section_tbss.s6
-rw-r--r--test/MC/AsmParser/ELF/directive_section_tdata.s6
8 files changed, 23 insertions, 42 deletions
diff --git a/test/MC/AsmParser/ELF/directive_section.s b/test/MC/AsmParser/ELF/directive_section.s
new file mode 100644
index 0000000000..9531c026e6
--- /dev/null
+++ b/test/MC/AsmParser/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
+
diff --git a/test/MC/AsmParser/ELF/directive_section_bss.s b/test/MC/AsmParser/ELF/directive_section_bss.s
deleted file mode 100644
index 66d5d9d11f..0000000000
--- a/test/MC/AsmParser/ELF/directive_section_bss.s
+++ /dev/null
@@ -1,6 +0,0 @@
-# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
-
- .bss
-# CHECK: .bss
- .bss
-
diff --git a/test/MC/AsmParser/ELF/directive_section_data_rel.s b/test/MC/AsmParser/ELF/directive_section_data_rel.s
deleted file mode 100644
index 1cd54cfcad..0000000000
--- a/test/MC/AsmParser/ELF/directive_section_data_rel.s
+++ /dev/null
@@ -1,6 +0,0 @@
-# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
-
- .data.rel
-# CHECK: .data.rel
- .data.rel
-
diff --git a/test/MC/AsmParser/ELF/directive_section_data_rel_ro.s b/test/MC/AsmParser/ELF/directive_section_data_rel_ro.s
deleted file mode 100644
index 3debab89ae..0000000000
--- a/test/MC/AsmParser/ELF/directive_section_data_rel_ro.s
+++ /dev/null
@@ -1,6 +0,0 @@
-# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
-
- .data.rel.ro
-# CHECK: .data.rel.ro
- .data.rel.ro
-
diff --git a/test/MC/AsmParser/ELF/directive_section_eh_frame.s b/test/MC/AsmParser/ELF/directive_section_eh_frame.s
deleted file mode 100644
index 915141d61f..0000000000
--- a/test/MC/AsmParser/ELF/directive_section_eh_frame.s
+++ /dev/null
@@ -1,6 +0,0 @@
-# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
-
- .eh_frame
-# CHECK: .eh_frame
- .eh_frame
-
diff --git a/test/MC/AsmParser/ELF/directive_section_rodata.s b/test/MC/AsmParser/ELF/directive_section_rodata.s
deleted file mode 100644
index 5123469c55..0000000000
--- a/test/MC/AsmParser/ELF/directive_section_rodata.s
+++ /dev/null
@@ -1,6 +0,0 @@
-# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
-
- .rodata
-# CHECK: .rodata
- .rodata
-
diff --git a/test/MC/AsmParser/ELF/directive_section_tbss.s b/test/MC/AsmParser/ELF/directive_section_tbss.s
deleted file mode 100644
index edd91cadc3..0000000000
--- a/test/MC/AsmParser/ELF/directive_section_tbss.s
+++ /dev/null
@@ -1,6 +0,0 @@
-# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
-
- .tbss
-# CHECK: .tbss
- .tbss
-
diff --git a/test/MC/AsmParser/ELF/directive_section_tdata.s b/test/MC/AsmParser/ELF/directive_section_tdata.s
deleted file mode 100644
index 3f43016a2b..0000000000
--- a/test/MC/AsmParser/ELF/directive_section_tdata.s
+++ /dev/null
@@ -1,6 +0,0 @@
-# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
-
- .tdata
-# CHECK: .tdata
- .tdata
-