summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2010-07-04 18:29:01 +0000
committerNick Kledzik <kledzik@apple.com>2010-07-04 18:29:01 +0000
commit9445ef8f4a8d08bc9375339e82afc6032c92ab20 (patch)
treec4e79186c96e34f7635619413bf8a6c17fe6fd50
parent30f33eb935facc5fdaa9b5c62274acd677ab302c (diff)
downloadbcm5719-llvm-9445ef8f4a8d08bc9375339e82afc6032c92ab20.tar.gz
bcm5719-llvm-9445ef8f4a8d08bc9375339e82afc6032c92ab20.zip
fix arvm5 builds
llvm-svn: 107588
-rw-r--r--compiler-rt/lib/arm/Makefile.mk2
-rw-r--r--compiler-rt/make/platform/darwin_bni.mk13
-rw-r--r--compiler-rt/make/platform/darwin_fat.mk1
3 files changed, 15 insertions, 1 deletions
diff --git a/compiler-rt/lib/arm/Makefile.mk b/compiler-rt/lib/arm/Makefile.mk
index 1dade0f6539..cde97c3f99a 100644
--- a/compiler-rt/lib/arm/Makefile.mk
+++ b/compiler-rt/lib/arm/Makefile.mk
@@ -8,7 +8,7 @@
#===------------------------------------------------------------------------===#
SubDirs :=
-OnlyArchs := armv6 armv7
+OnlyArchs := armv5 armv6 armv7
AsmSources := $(foreach file,$(wildcard $(Dir)/*.S),$(notdir $(file)))
Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
diff --git a/compiler-rt/make/platform/darwin_bni.mk b/compiler-rt/make/platform/darwin_bni.mk
index b6ba3c7c920..adea4305bab 100644
--- a/compiler-rt/make/platform/darwin_bni.mk
+++ b/compiler-rt/make/platform/darwin_bni.mk
@@ -52,6 +52,19 @@ FUNCTIONS.x86_64 := $(FUNCTIONS) \
mulvti3 mulxc3 negti2 negvti2 parityti2 \
popcountti2 powixf2 subvti3 ucmpti2 udivmodti4 \
udivti3 umodti3 clear_cache enable_execute_stack
+FUNCTIONS.armv5 := $(FUNCTIONS) \
+ adddf3 addsf3 bswapdi2 bswapsi2 \
+ comparedf2 comparesf2 extendsfdf2 \
+ divdf3 divsf3 \
+ fixdfsi fixsfsi fixunsdfsi fixunssfsi \
+ floatsidf floatsisf floatunsidf floatunsisf \
+ muldf3 mulsf3 \
+ negdf2 negsf2 \
+ truncdfsf2 \
+ modsi3 umodsi3 udivsi3 divsi3 \
+ switch8 switchu8 switch16 switch32 \
+ sync_synchronize
+
FUNCTIONS.armv6 := $(FUNCTIONS) \
adddf3vfp addsf3vfp bswapdi2 bswapsi2 divdf3vfp \
divsf3vfp eqdf2vfp eqsf2vfp extendsfdf2vfp \
diff --git a/compiler-rt/make/platform/darwin_fat.mk b/compiler-rt/make/platform/darwin_fat.mk
index 3659e041f69..30e57a198e2 100644
--- a/compiler-rt/make/platform/darwin_fat.mk
+++ b/compiler-rt/make/platform/darwin_fat.mk
@@ -47,6 +47,7 @@ CFLAGS.Profile := $(CFLAGS) -pg -g
FUNCTIONS.i386 := $(CommonFunctions) $(ArchFunctions.i386)
FUNCTIONS.ppc := $(CommonFunctions) $(ArchFunctions.ppc)
FUNCTIONS.x86_64 := $(CommonFunctions) $(ArchFunctions.x86_64)
+FUNCTIONS.armv5 := $(CommonFunctions) $(ArchFunctions.armv5)
FUNCTIONS.armv6 := $(CommonFunctions) $(ArchFunctions.armv6)
FUNCTIONS.armv7 := $(CommonFunctions) $(ArchFunctions.armv7)
OpenPOWER on IntegriCloud