[PATCH] D33199: [compiler-rt][cmake] Exclude emutls.c when COMPILER_RT_BAREMETAL_BUILD is set

Catherine Moore via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 07:43:25 PDT 2017


clm created this revision.
Herald added subscribers: mgorny, dberris.

Add lib/builtins/emutls.c to the list of files that are excluded from baremetal builds.


https://reviews.llvm.org/D33199

Files:
  lib/builtins/CMakeLists.txt


Index: lib/builtins/CMakeLists.txt
===================================================================
--- lib/builtins/CMakeLists.txt
+++ lib/builtins/CMakeLists.txt
@@ -163,8 +163,7 @@
   udivti3.c
   umoddi3.c
   umodsi3.c
-  umodti3.c
-  emutls.c)
+  umodti3.c)

 set(GENERIC_TF_SOURCES
   comparetf2.c
@@ -193,6 +192,7 @@
 if(NOT COMPILER_RT_BAREMETAL_BUILD)
   set(GENERIC_SOURCES
     ${GENERIC_SOURCES}
+    emutls.c
     enable_execute_stack.c)
 endif()



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33199.99001.patch
Type: text/x-patch
Size: 464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170515/4cf81ef0/attachment.bin>


More information about the llvm-commits mailing list