[libc-commits] [libc] 954a728 - [libc] Adjust full build entrypoints for aarch64.

Siva Chandra via libc-commits libc-commits at lists.llvm.org
Fri Mar 12 13:51:28 PST 2021


Author: Siva Chandra
Date: 2021-03-12T13:50:56-08:00
New Revision: 954a7289d20a5ac9a1cde9904584694e4aad5455

URL: https://github.com/llvm/llvm-project/commit/954a7289d20a5ac9a1cde9904584694e4aad5455
DIFF: https://github.com/llvm/llvm-project/commit/954a7289d20a5ac9a1cde9904584694e4aad5455.diff

LOG: [libc] Adjust full build entrypoints for aarch64.

Added: 
    

Modified: 
    libc/config/linux/aarch64/entrypoints.txt

Removed: 
    


################################################################################
diff  --git a/libc/config/linux/aarch64/entrypoints.txt b/libc/config/linux/aarch64/entrypoints.txt
index 5a546d7b2407..4364373a55c3 100644
--- a/libc/config/linux/aarch64/entrypoints.txt
+++ b/libc/config/linux/aarch64/entrypoints.txt
@@ -20,11 +20,6 @@ set(TARGET_LIBC_ENTRYPOINTS
     # errno.h entrypoints
     libc.src.errno.__errno_location
 
-    # stdlib.h entrypoints
-    libc.src.stdlib.abs
-    libc.src.stdlib.labs
-    libc.src.stdlib.llabs
-
     # string.h entrypoints
     libc.src.string.bzero
     libc.src.string.memchr
@@ -36,6 +31,7 @@ set(TARGET_LIBC_ENTRYPOINTS
     libc.src.string.strcat
     libc.src.string.strchr
     libc.src.string.strcpy
+    libc.src.string.strcmp
     libc.src.string.strcspn
     libc.src.string.strlen
     libc.src.string.strncpy
@@ -145,6 +141,15 @@ set(TARGET_LIBM_ENTRYPOINTS
     libc.src.math.truncl
 )
 
+if(LLVM_LIBC_FULL_BUILD)
+  list(APPEND TARGET_LIBC_ENTRYPOINTS
+    # stdlib.h entrypoints
+    libc.src.stdlib.abs
+    libc.src.stdlib.labs
+    libc.src.stdlib.llabs
+  )
+endif()
+
 set(TARGET_LLVMLIBC_ENTRYPOINTS
   ${TARGET_LIBC_ENTRYPOINTS}
   ${TARGET_LIBM_ENTRYPOINTS}


        


More information about the libc-commits mailing list