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/divmodsi4.S | |
parent | 079fed4c6737cf3dba06a9964cdbafc511c16b78 (diff) |
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/divmodsi4.S')
-rw-r--r-- | lib/builtins/arm/divmodsi4.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/builtins/arm/divmodsi4.S b/lib/builtins/arm/divmodsi4.S index 96527f7c5..0477c0a36 100644 --- a/lib/builtins/arm/divmodsi4.S +++ b/lib/builtins/arm/divmodsi4.S @@ -32,7 +32,7 @@ @ value is the quotient, the remainder is placed in the variable. .p2align 3 -DEFINE_COMPILERRT_FUNCTION(__divmodsi4) +DEFINE_COMPILERRT_THUMB_FUNCTION(__divmodsi4) #if __ARM_ARCH_EXT_IDIV__ tst r1, r1 beq LOCAL_LABEL(divzero) |