[libc] Adjust full build entrypoints for aarch64.
GitOrigin-RevId: 954a7289d20a5ac9a1cde9904584694e4aad5455
diff --git a/config/linux/aarch64/entrypoints.txt b/config/linux/aarch64/entrypoints.txt
index 5a546d7..4364373 100644
--- a/config/linux/aarch64/entrypoints.txt
+++ b/config/linux/aarch64/entrypoints.txt
@@ -20,11 +20,6 @@
# 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 @@
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 @@
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}