aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-10-25 12:49:50 +0000
committerTim Northover <tnorthover@apple.com>2013-10-25 12:49:50 +0000
commitc8f4e5db29270fc7ed164af973ece7ba5921539b (patch)
tree65bf380bd5322d7836168c7ec3e125410bc939e6 /test/MC
parentee21bb4e87a35f1dbccc02cc408fd9dd9ecc1855 (diff)
downloadexternal_llvm-c8f4e5db29270fc7ed164af973ece7ba5921539b.zip
external_llvm-c8f4e5db29270fc7ed164af973ece7ba5921539b.tar.gz
external_llvm-c8f4e5db29270fc7ed164af973ece7ba5921539b.tar.bz2
ARM: allow .thumb_func to be separated from symbol definition
When assembling, a .thumb_func directive is supposed to be applicable to the next symbol definition, even if there are intervening directives. We were racing ahead to try and find it, and this commit should fix the issue. Patch by Gabor Ballabas git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193403 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/ARM/elf-thumbfunc.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/MC/ARM/elf-thumbfunc.s b/test/MC/ARM/elf-thumbfunc.s
index 26f5f0b..0ea1182 100644
--- a/test/MC/ARM/elf-thumbfunc.s
+++ b/test/MC/ARM/elf-thumbfunc.s
@@ -5,9 +5,9 @@
.text
.globl foo
.align 2
- .type foo,%function
.code 16
.thumb_func
+ .type foo,%function
foo:
bx lr