[libc-commits] [libc] 9fa6a88 - [libc][arm32] add string stdlib & math entrypoints

Michael Jones via libc-commits libc-commits at lists.llvm.org
Fri Jul 15 10:11:02 PDT 2022


Author: Michael Jones
Date: 2022-07-15T10:10:58-07:00
New Revision: 9fa6a88a167139b94c84a9d5fe15fa0566427e3e

URL: https://github.com/llvm/llvm-project/commit/9fa6a88a167139b94c84a9d5fe15fa0566427e3e
DIFF: https://github.com/llvm/llvm-project/commit/9fa6a88a167139b94c84a9d5fe15fa0566427e3e.diff

LOG: [libc][arm32] add string stdlib & math entrypoints

This patch adds all the string and stdlib entrypoints, as well as a few
math entrypoints to the arm32 build.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D129821

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/libc/config/linux/arm/entrypoints.txt b/libc/config/linux/arm/entrypoints.txt
index bb01b0759712d..74f7502e04bd0 100644
--- a/libc/config/linux/arm/entrypoints.txt
+++ b/libc/config/linux/arm/entrypoints.txt
@@ -16,8 +16,19 @@ set(TARGET_LIBC_ENTRYPOINTS
     libc.src.ctype.toascii
     libc.src.ctype.tolower
     libc.src.ctype.toupper
-    
+
     # string.h entrypoints
+    libc.src.string.bcmp
+    libc.src.string.bzero
+    libc.src.string.memccpy
+    libc.src.string.memchr
+    libc.src.string.memcmp
+    libc.src.string.memcpy
+    libc.src.string.memmove
+    libc.src.string.mempcpy
+    libc.src.string.memrchr
+    libc.src.string.memset
+    libc.src.string.stpcpy
     libc.src.string.stpncpy
     libc.src.string.strcat
     libc.src.string.strchr
@@ -37,7 +48,6 @@ set(TARGET_LIBC_ENTRYPOINTS
     libc.src.string.strstr
     libc.src.string.strtok
     libc.src.string.strtok_r
- 
     # inttypes.h entrypoints
     libc.src.inttypes.imaxabs
     libc.src.inttypes.imaxdiv
@@ -46,6 +56,10 @@ set(TARGET_LIBC_ENTRYPOINTS
  
     # stdlib.h entrypoints
     libc.src.stdlib.abs
+    libc.src.stdlib.atoi
+    libc.src.stdlib.atof
+    libc.src.stdlib.atol
+    libc.src.stdlib.atoll
     libc.src.stdlib.bsearch
     libc.src.stdlib.div
     libc.src.stdlib.labs
@@ -53,9 +67,32 @@ set(TARGET_LIBC_ENTRYPOINTS
     libc.src.stdlib.llabs
     libc.src.stdlib.lldiv
     libc.src.stdlib.qsort
+    libc.src.stdlib.strtod
+    libc.src.stdlib.strtof
+    libc.src.stdlib.strtol
+    libc.src.stdlib.strtold
+    libc.src.stdlib.strtoll
+    libc.src.stdlib.strtoul
+    libc.src.stdlib.strtoull
 )
 
 set(TARGET_LIBM_ENTRYPOINTS
+    # math.h entrypoints
+    libc.src.math.cosf
+    libc.src.math.fabs
+    libc.src.math.fabsf
+    libc.src.math.fabsl
+    libc.src.math.fdim
+    libc.src.math.fdimf
+    libc.src.math.fdiml
+    libc.src.math.fmax
+    libc.src.math.fmaxf
+    libc.src.math.fmaxl
+    libc.src.math.fmin
+    libc.src.math.fminf
+    libc.src.math.fminl
+    libc.src.math.sincosf
+    libc.src.math.sinf
 )
 
 set(TARGET_LLVMLIBC_ENTRYPOINTS


        


More information about the libc-commits mailing list