[llvm-commits] [compiler-rt] r131034 - /compiler-rt/trunk/make/platform/clang_darwin.mk
Daniel Dunbar
daniel at zuster.org
Fri May 6 16:06:07 PDT 2011
Author: ddunbar
Date: Fri May 6 18:06:07 2011
New Revision: 131034
URL: http://llvm.org/viewvc/llvm-project?rev=131034&view=rev
Log:
clang/Darwin: Include divsi3 functions on x86, they are used by the divmod
implementation.
Modified:
compiler-rt/trunk/make/platform/clang_darwin.mk
Modified: compiler-rt/trunk/make/platform/clang_darwin.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/make/platform/clang_darwin.mk?rev=131034&r1=131033&r2=131034&view=diff
==============================================================================
--- compiler-rt/trunk/make/platform/clang_darwin.mk (original)
+++ compiler-rt/trunk/make/platform/clang_darwin.mk Fri May 6 18:06:07 2011
@@ -68,6 +68,11 @@
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 \
More information about the llvm-commits
mailing list