Move ARM specific test into the ARM subdir.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 28 May 2011 11:01:30 +0000 (11:01 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 28 May 2011 11:01:30 +0000 (11:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132255 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/ARM/elf-thumbfunc.s [new file with mode: 0644]
test/MC/ELF/elf-thumbfunc.s [deleted file]

diff --git a/test/MC/ARM/elf-thumbfunc.s b/test/MC/ARM/elf-thumbfunc.s
new file mode 100644 (file)
index 0000000..a1b3c31
--- /dev/null
@@ -0,0 +1,20 @@
+@@ test st_value bit 0 of thumb function
+@ RUN: llvm-mc %s -triple=thumbv7-linux-gnueabi -filetype=obj -o - | \
+@ RUN: elf-dump  | FileCheck %s
+       .syntax unified
+       .text
+       .globl  foo
+       .align  2
+       .type   foo,%function
+       .code   16
+       .thumb_func
+foo:
+       bx      lr
+
+@@ make sure foo is thumb function: bit 0 = 1 (st_value)
+@CHECK:           Symbol 0x00000004
+@CHECK-NEXT:      'st_name', 0x00000001
+@CHECK-NEXT:      'st_value', 0x00000001
+@CHECK-NEXT:      'st_size', 0x00000000
+@CHECK-NEXT:      'st_bind', 0x00000001
+@CHECK-NEXT:      'st_type', 0x00000002
diff --git a/test/MC/ELF/elf-thumbfunc.s b/test/MC/ELF/elf-thumbfunc.s
deleted file mode 100644 (file)
index a1b3c31..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-@@ test st_value bit 0 of thumb function
-@ RUN: llvm-mc %s -triple=thumbv7-linux-gnueabi -filetype=obj -o - | \
-@ RUN: elf-dump  | FileCheck %s
-       .syntax unified
-       .text
-       .globl  foo
-       .align  2
-       .type   foo,%function
-       .code   16
-       .thumb_func
-foo:
-       bx      lr
-
-@@ make sure foo is thumb function: bit 0 = 1 (st_value)
-@CHECK:           Symbol 0x00000004
-@CHECK-NEXT:      'st_name', 0x00000001
-@CHECK-NEXT:      'st_value', 0x00000001
-@CHECK-NEXT:      'st_size', 0x00000000
-@CHECK-NEXT:      'st_bind', 0x00000001
-@CHECK-NEXT:      'st_type', 0x00000002