Consolidate the ELF section directive tests into a single file as
authorMatt Fleming <matt@console-pimps.org>
Fri, 23 Jul 2010 23:40:41 +0000 (23:40 +0000)
committerMatt Fleming <matt@console-pimps.org>
Fri, 23 Jul 2010 23:40:41 +0000 (23:40 +0000)
suggested by Chris Lattner.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109290 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/AsmParser/ELF/directive_section.s [new file with mode: 0644]
test/MC/AsmParser/ELF/directive_section_bss.s [deleted file]
test/MC/AsmParser/ELF/directive_section_data_rel.s [deleted file]
test/MC/AsmParser/ELF/directive_section_data_rel_ro.s [deleted file]
test/MC/AsmParser/ELF/directive_section_eh_frame.s [deleted file]
test/MC/AsmParser/ELF/directive_section_rodata.s [deleted file]
test/MC/AsmParser/ELF/directive_section_tbss.s [deleted file]
test/MC/AsmParser/ELF/directive_section_tdata.s [deleted file]

diff --git a/test/MC/AsmParser/ELF/directive_section.s b/test/MC/AsmParser/ELF/directive_section.s
new file mode 100644 (file)
index 0000000..9531c02
--- /dev/null
@@ -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 (file)
index 66d5d9d..0000000
+++ /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 (file)
index 1cd54cf..0000000
+++ /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 (file)
index 3debab8..0000000
+++ /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 (file)
index 915141d..0000000
+++ /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 (file)
index 5123469..0000000
+++ /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 (file)
index edd91ca..0000000
+++ /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 (file)
index 3f43016..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s
-
-       .tdata
-# CHECK: .tdata
-       .tdata
-