diff --git a/compiler-rt/lib/arm/Makefile.mk b/compiler-rt/lib/arm/Makefile.mk index 1dade0f65397..cde97c3f99ae 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 b6ba3c7c920b..adea4305bab5 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 3659e041f694..30e57a198e2e 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)