[libc-commits] [libc] 17af54b - [libc][config] Add malloc as baremetal arm entrypoint (#95827)

via libc-commits libc-commits at lists.llvm.org
Thu Jun 20 13:32:29 PDT 2024


Author: PiJoules
Date: 2024-06-20T13:32:26-07:00
New Revision: 17af54b88b57b7469d57f6f2d7db1033d835e13f

URL: https://github.com/llvm/llvm-project/commit/17af54b88b57b7469d57f6f2d7db1033d835e13f
DIFF: https://github.com/llvm/llvm-project/commit/17af54b88b57b7469d57f6f2d7db1033d835e13f.diff

LOG: [libc][config] Add malloc as baremetal arm entrypoint (#95827)

Added: 
    

Modified: 
    libc/config/baremetal/arm/entrypoints.txt
    libc/config/baremetal/riscv/entrypoints.txt

Removed: 
    


################################################################################
diff  --git a/libc/config/baremetal/arm/entrypoints.txt b/libc/config/baremetal/arm/entrypoints.txt
index c2aa5258cb7e6..1443d1e44e10a 100644
--- a/libc/config/baremetal/arm/entrypoints.txt
+++ b/libc/config/baremetal/arm/entrypoints.txt
@@ -167,16 +167,20 @@ set(TARGET_LIBC_ENTRYPOINTS
     # stdlib.h entrypoints
     libc.src.stdlib.abort
     libc.src.stdlib.abs
+    libc.src.stdlib.aligned_alloc
     libc.src.stdlib.atoi
     libc.src.stdlib.atof
     libc.src.stdlib.atol
     libc.src.stdlib.atoll
     libc.src.stdlib.bsearch
+    libc.src.stdlib.calloc
     libc.src.stdlib.div
+    libc.src.stdlib.free
     libc.src.stdlib.labs
     libc.src.stdlib.ldiv
     libc.src.stdlib.llabs
     libc.src.stdlib.lldiv
+    libc.src.stdlib.malloc
     libc.src.stdlib.qsort
     libc.src.stdlib.rand
     libc.src.stdlib.srand

diff  --git a/libc/config/baremetal/riscv/entrypoints.txt b/libc/config/baremetal/riscv/entrypoints.txt
index 6d38676b1e8a8..99ae20b726ae2 100644
--- a/libc/config/baremetal/riscv/entrypoints.txt
+++ b/libc/config/baremetal/riscv/entrypoints.txt
@@ -163,16 +163,20 @@ set(TARGET_LIBC_ENTRYPOINTS
     # stdlib.h entrypoints
     libc.src.stdlib.abort
     libc.src.stdlib.abs
+    libc.src.stdlib.aligned_alloc
     libc.src.stdlib.atoi
     libc.src.stdlib.atof
     libc.src.stdlib.atol
     libc.src.stdlib.atoll
     libc.src.stdlib.bsearch
+    libc.src.stdlib.calloc
     libc.src.stdlib.div
+    libc.src.stdlib.free
     libc.src.stdlib.labs
     libc.src.stdlib.ldiv
     libc.src.stdlib.llabs
     libc.src.stdlib.lldiv
+    libc.src.stdlib.malloc
     libc.src.stdlib.qsort
     libc.src.stdlib.rand
     libc.src.stdlib.srand


        


More information about the libc-commits mailing list