forked from OSchip/llvm-project
Add complex multiply/divide functions to arm64 iOS libclang_rt libraries.
Clang r219557 introduces libcalls to complex multiply/divide functions. Since these functions are not available in iOS for arm64 devices, add them to the static libraries. llvm-svn: 219715
This commit is contained in:
parent
e7367d6bcb
commit
ca0a38e0ae
|
@ -1,13 +0,0 @@
|
|||
/* ===---------- dummy.c - Implements dummy function, for bringup -----------===
|
||||
*
|
||||
* The LLVM Compiler Infrastructure
|
||||
*
|
||||
* This file is dual licensed under the MIT and the University of Illinois Open
|
||||
* Source Licenses. See LICENSE.TXT for details.
|
||||
*
|
||||
* ===----------------------------------------------------------------------===
|
||||
*/
|
||||
|
||||
static void dummy(void) __attribute__((used));
|
||||
|
||||
static void dummy(void) {}
|
|
@ -222,7 +222,7 @@ FUNCTIONS.ios.i386 := $(FUNCTIONS.ios) \
|
|||
divsi3 udivsi3
|
||||
FUNCTIONS.ios.x86_64 := $(FUNCTIONS.ios.i386)
|
||||
FUNCTIONS.ios.x86_64h := $(FUNCTIONS.ios.x86_64)
|
||||
FUNCTIONS.ios.arm64 := dummy
|
||||
FUNCTIONS.ios.arm64 := mulsc3 muldc3 divsc3 divdc3
|
||||
|
||||
FUNCTIONS.osx := mulosi4 mulodi4 muloti4
|
||||
|
||||
|
@ -392,7 +392,7 @@ CCKEXT_ARMVFP_FUNCTIONS := $(CCKEXT_ARM_FUNCTIONS) \
|
|||
FUNCTIONS.cc_kext.armv7 := $(CCKEXT_ARMVFP_FUNCTIONS)
|
||||
FUNCTIONS.cc_kext.armv7k := $(CCKEXT_ARMVFP_FUNCTIONS)
|
||||
FUNCTIONS.cc_kext.armv7s := $(CCKEXT_ARMVFP_FUNCTIONS)
|
||||
FUNCTIONS.cc_kext.arm64 := dummy
|
||||
FUNCTIONS.cc_kext.arm64 := mulsc3 muldc3 divsc3 divdc3
|
||||
FUNCTIONS.cc_kext_ios5.armv7 := $(CCKEXT_ARMVFP_FUNCTIONS)
|
||||
FUNCTIONS.cc_kext_ios5.armv7k := $(CCKEXT_ARMVFP_FUNCTIONS)
|
||||
FUNCTIONS.cc_kext_ios5.armv7s := $(CCKEXT_ARMVFP_FUNCTIONS)
|
||||
|
|
Loading…
Reference in New Issue