[libc-commits] [PATCH] D129821: [libc][arm32] add string stdlib & math entrypoints

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Jul 14 17:04:06 PDT 2022


michaelrj created this revision.
michaelrj added reviewers: sivachandra, lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett, kristof.beyls.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129821

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


Index: libc/config/linux/arm/entrypoints.txt
===================================================================
--- libc/config/linux/arm/entrypoints.txt
+++ libc/config/linux/arm/entrypoints.txt
@@ -16,8 +16,19 @@
     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 @@
     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 @@
  
     # 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 @@
     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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129821.444846.patch
Type: text/x-patch
Size: 1959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220715/1c7d6033/attachment.bin>


More information about the libc-commits mailing list