clang/Darwin: Include divsi3 functions on x86, they are used by the divmod

implementation.

llvm-svn: 131034
This commit is contained in:
Daniel Dunbar
2011-05-06 23:06:07 +00:00
parent ed0443624b
commit eac62c5388

View File

@@ -68,6 +68,11 @@ FUNCTIONS.eprintf := eprintf
FUNCTIONS.10.4 := eprintf floatundidf floatundisf floatundixf
FUNCTIONS.ios := divmodsi4 udivmodsi4
# On x86, the divmod functions reference divsi.
FUNCTIONS.ios.i386 := $(FUNCTIONS.ios) \
divsi3 udivsi3
FUNCTIONS.ios.x86_64 := $(FUNCTIONS.ios) \
divsi3 udivsi3
FUNCTIONS.ios.armv6 := $(FUNCTIONS.ios) \
sync_synchronize \
switch16 switch32 switch8 switchu8 \