[PATCH] D21263: compiler-rt: separate out aeabi builtins to support WOA
Martell Malone via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 11 17:38:55 PDT 2016
martell created this revision.
martell added a reviewer: rnk.
martell added a subscriber: llvm-commits.
martell set the repository for this revision to rL LLVM.
avoid linking aeabi builtins for WOA targets
Repository:
rL LLVM
http://reviews.llvm.org/D21263
Files:
lib/builtins/CMakeLists.txt
Index: lib/builtins/CMakeLists.txt
===================================================================
--- lib/builtins/CMakeLists.txt
+++ lib/builtins/CMakeLists.txt
@@ -255,9 +255,7 @@
set(i686_SOURCES ${i386_SOURCES})
endif () # if (NOT MSVC)
-set(arm_SOURCES
- arm/adddf3vfp.S
- arm/addsf3vfp.S
+set(arm_aeabi_SOURCES
arm/aeabi_cdcmp.S
arm/aeabi_cdcmpeq_check_nan.c
arm/aeabi_cfcmp.S
@@ -274,7 +272,11 @@
arm/aeabi_memmove.S
arm/aeabi_memset.S
arm/aeabi_uidivmod.S
- arm/aeabi_uldivmod.S
+ arm/aeabi_uldivmod.S)
+
+set(arm_SOURCES
+ arm/adddf3vfp.S
+ arm/addsf3vfp.S
arm/bswapdi2.S
arm/bswapsi2.S
arm/clzdi2.S
@@ -347,6 +349,12 @@
arm/unordsf2vfp.S
${GENERIC_SOURCES})
+if(NOT WIN32)
+ set(arm_SOURCES
+ ${arm_aeabi_SOURCES}
+ ${arm_SOURCES})
+endif()
+
set(aarch64_SOURCES
comparetf2.c
extenddftf2.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21263.60450.patch
Type: text/x-patch
Size: 868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160612/ca00e782/attachment.bin>
More information about the llvm-commits
mailing list