[libc-commits] [libc] [libc] printf, putchar and vprintf in bareemetal entrypoints (PR #95436)
Petr Hosek via libc-commits
libc-commits at lists.llvm.org
Thu Jun 13 09:57:23 PDT 2024
https://github.com/petrhosek created https://github.com/llvm/llvm-project/pull/95436
We now have baremetal implementations of these entrypoints.
>From 745771fbd2260aa8f4b880e9feb78f4f807e43ca Mon Sep 17 00:00:00 2001
From: Petr Hosek <phosek at google.com>
Date: Thu, 13 Jun 2024 09:55:55 -0700
Subject: [PATCH] [libc] printf, putchar and vprintf in bareemetal entrypoints
We now have baremetal implementations of these entrypoints.
---
libc/config/baremetal/arm/entrypoints.txt | 3 +++
libc/config/baremetal/riscv/entrypoints.txt | 3 +++
2 files changed, 6 insertions(+)
diff --git a/libc/config/baremetal/arm/entrypoints.txt b/libc/config/baremetal/arm/entrypoints.txt
index 7fb82c60a1bb8..2930d718fdb21 100644
--- a/libc/config/baremetal/arm/entrypoints.txt
+++ b/libc/config/baremetal/arm/entrypoints.txt
@@ -80,8 +80,11 @@ set(TARGET_LIBC_ENTRYPOINTS
# stdio.h entrypoints
libc.src.stdio.remove
+ libc.src.stdio.printf
+ libc.src.stdio.putchar
libc.src.stdio.sprintf
libc.src.stdio.snprintf
+ libc.src.stdio.vprintf
libc.src.stdio.vsprintf
libc.src.stdio.vsnprintf
diff --git a/libc/config/baremetal/riscv/entrypoints.txt b/libc/config/baremetal/riscv/entrypoints.txt
index b769b43f03a2c..6d38676b1e8a8 100644
--- a/libc/config/baremetal/riscv/entrypoints.txt
+++ b/libc/config/baremetal/riscv/entrypoints.txt
@@ -80,8 +80,11 @@ set(TARGET_LIBC_ENTRYPOINTS
# stdio.h entrypoints
libc.src.stdio.remove
+ libc.src.stdio.printf
+ libc.src.stdio.putchar
libc.src.stdio.sprintf
libc.src.stdio.snprintf
+ libc.src.stdio.vprintf
libc.src.stdio.vsprintf
libc.src.stdio.vsnprintf
More information about the libc-commits
mailing list