[libc-commits] [libc] [libc][arm] add malloc/free/aligned_alloc to entrypoints (PR #96516)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Mon Jun 24 09:48:03 PDT 2024


https://github.com/nickdesaulniers created https://github.com/llvm/llvm-project/pull/96516

Necessary for arm32 cross full build.

>From 7b6285c5d9e312cda21beda49aec864f460c6336 Mon Sep 17 00:00:00 2001
From: Nick Desaulniers <ndesaulniers at google.com>
Date: Mon, 24 Jun 2024 09:46:56 -0700
Subject: [PATCH] [libc][arm] add malloc/free/aligned_alloc to entrypoints

Necessary for arm32 cross full build.
---
 libc/config/linux/arm/entrypoints.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libc/config/linux/arm/entrypoints.txt b/libc/config/linux/arm/entrypoints.txt
index 681d3d2583fd3..00df44511a4c1 100644
--- a/libc/config/linux/arm/entrypoints.txt
+++ b/libc/config/linux/arm/entrypoints.txt
@@ -165,6 +165,11 @@ set(TARGET_LIBC_ENTRYPOINTS
     libc.src.stdlib.strtoul
     libc.src.stdlib.strtoull
 
+    # stdlib.h external entrypoints
+    libc.src.stdlib.aligned_alloc
+    libc.src.stdlib.free
+    libc.src.stdlib.malloc
+
     # sys/mman.h entrypoints
     libc.src.sys.mman.mmap
     libc.src.sys.mman.munmap



More information about the libc-commits mailing list