diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-05-06 23:06:07 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-05-06 23:06:07 +0000 |
commit | 187b4b5773107cdc8bb5c1d122ecf9c603fd6ced (patch) | |
tree | 7d81ce53fdd8007d8957f1b14fb60cf964c8a133 | |
parent | a14b7219a3fbfa3ca0d699db0919f51a762689e2 (diff) | |
download | compiler-rt-187b4b5773107cdc8bb5c1d122ecf9c603fd6ced.tar.gz |
clang/Darwin: Include divsi3 functions on x86, they are used by the divmod
implementation.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@131034 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | make/platform/clang_darwin.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/make/platform/clang_darwin.mk b/make/platform/clang_darwin.mk index 9345ff451..777665245 100644 --- a/make/platform/clang_darwin.mk +++ b/make/platform/clang_darwin.mk @@ -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 \ |