Skip to content

[libc][arm] add malloc/free/aligned_alloc to entrypoints #96516

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

nickdesaulniers
Copy link
Member

Necessary for arm32 cross full build.

Necessary for arm32 cross full build.
@llvmbot
Copy link
Member

llvmbot commented Jun 24, 2024

@llvm/pr-subscribers-libc

Author: Nick Desaulniers (paternity leave) (nickdesaulniers)

Changes

Necessary for arm32 cross full build.


Full diff: https://github.com/llvm/llvm-project/pull/96516.diff

1 Files Affected:

  • (modified) libc/config/linux/arm/entrypoints.txt (+5)
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

@nickdesaulniers nickdesaulniers merged commit 9eba835 into llvm:main Jun 24, 2024
6 of 7 checks passed
@nickdesaulniers nickdesaulniers deleted the arm_runtimes_cross6 branch June 24, 2024 16:51
AlexisPerry pushed a commit to llvm-project-tlp/llvm-project that referenced this pull request Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants