From 1dcfa4d85264a1dcc8617705f7268d53d54361f7 Mon Sep 17 00:00:00 2001 From: Steven Wu Date: Sat, 4 Oct 2014 00:18:59 +0000 Subject: 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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219040 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/builtins/arm/divmodsi4.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/builtins/arm/divmodsi4.S') 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) -- cgit v1.2.3