diff options
author | Steven Wu <stevenwu@apple.com> | 2014-10-04 00:18:59 +0000 |
---|---|---|
committer | Steven Wu <stevenwu@apple.com> | 2014-10-04 00:18:59 +0000 |
commit | 1dcfa4d85264a1dcc8617705f7268d53d54361f7 (patch) | |
tree | 1afb9c3dabf29c5749900045ab6b95b69c4929e1 /lib/builtins/arm/modsi3.S | |
parent | 079fed4c6737cf3dba06a9964cdbafc511c16b78 (diff) | |
download | compiler-rt-1dcfa4d85264a1dcc8617705f7268d53d54361f7.tar.gz |
Fix the armv7 thumb builtins on darwin
The arm builtins converted into thumb in r213481 are not working
on darwin. On apple platforms, .thumb_func directive is required
to generated correct symbols for thumb functions.
<rdar://problem/18523605>
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219040 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/arm/modsi3.S')
-rw-r--r-- | lib/builtins/arm/modsi3.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/builtins/arm/modsi3.S b/lib/builtins/arm/modsi3.S index 57ffa3b41..beff9f1ff 100644 --- a/lib/builtins/arm/modsi3.S +++ b/lib/builtins/arm/modsi3.S @@ -30,7 +30,7 @@ @ Calculate and return the remainder of the (signed) division. .p2align 3 -DEFINE_COMPILERRT_FUNCTION(__modsi3) +DEFINE_COMPILERRT_THUMB_FUNCTION(__modsi3) #if __ARM_ARCH_EXT_IDIV__ tst r1, r1 beq LOCAL_LABEL(divzero) |