[libc-commits] [libc] [libc] Provide realloc function for ARM (PR #98786)

via libc-commits libc-commits at lists.llvm.org
Sat Jul 13 19:00:06 PDT 2024


https://github.com/Prabhuk created https://github.com/llvm/llvm-project/pull/98786

Add realloc function entrypoint for ARM baremetal targets.


>From 0d0340f090b2a284694fe7a32160a152d5b99912 Mon Sep 17 00:00:00 2001
From: prabhukr <prabhukr at google.com>
Date: Sat, 13 Jul 2024 18:50:41 -0700
Subject: [PATCH] [libc] Provide realloc function for ARM

Add realloc function entrypoint for ARM baremetal targets.
---
 libc/config/baremetal/arm/entrypoints.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libc/config/baremetal/arm/entrypoints.txt b/libc/config/baremetal/arm/entrypoints.txt
index 90a4dab2decba..b82e128fb8e0c 100644
--- a/libc/config/baremetal/arm/entrypoints.txt
+++ b/libc/config/baremetal/arm/entrypoints.txt
@@ -186,6 +186,7 @@ set(TARGET_LIBC_ENTRYPOINTS
     libc.src.stdlib.llabs
     libc.src.stdlib.lldiv
     libc.src.stdlib.malloc
+    libc.src.stdlib.realloc
     libc.src.stdlib.qsort
     libc.src.stdlib.rand
     libc.src.stdlib.srand



More information about the libc-commits mailing list