clang_darwin: Tweak runtime library definitions to include divmod functions.

llvm-svn: 129757
This commit is contained in:
Daniel Dunbar 2011-04-19 15:14:46 +00:00
parent fb1249548f
commit ddd3a2ec1d
1 changed files with 11 additions and 6 deletions
compiler-rt/make/platform

View File

@ -21,10 +21,11 @@ UniversalArchs.eprintf := i386
Configs += 10.4 Configs += 10.4
UniversalArchs.10.4 := i386 x86_64 UniversalArchs.10.4 := i386 x86_64
# Configuration for targetting armv6. We need a few additional functions which # Configuration for targetting iOS, for some ARMv6 functions, which must be
# must be in the same linkage unit. # in the same linkage unit, and for a couple of other functions that didn't
Configs += armv6 # make it into libSystem.
UniversalArchs.armv6 := armv6 Configs += ios
UniversalArchs.ios := armv6 armv7
# Configuration for use with kernel/kexts. # Configuration for use with kernel/kexts.
Configs += cc_kext Configs += cc_kext
@ -42,8 +43,12 @@ CFLAGS := -Wall -Werror -O3 -fomit-frame-pointer
FUNCTIONS.eprintf := eprintf FUNCTIONS.eprintf := eprintf
FUNCTIONS.10.4 := eprintf floatundidf floatundisf floatundixf FUNCTIONS.10.4 := eprintf floatundidf floatundisf floatundixf
FUNCTIONS.armv6 := switch16 switch32 switch8 switchu8 \
IOS_COMMON_FUNCTIONS := divmodsi4 udivmodsi4
FUNCTIONS.ios.armv6 := $(IOS_COMMON_FUNCTIONS) \
switch16 switch32 switch8 switchu8 \
save_vfp_d8_d15_regs restore_vfp_d8_d15_regs save_vfp_d8_d15_regs restore_vfp_d8_d15_regs
FUNCTIONS.ios.armv7 := $(IOS_COMMON_FUNCTIONS)
CCKEXT_COMMON_FUNCTIONS := \ CCKEXT_COMMON_FUNCTIONS := \
absvdi2 \ absvdi2 \