[libc-commits] [libc] Reapply "[libc] printf, putchar and vprintf in bareemetal entrypoints… (PR #95619)
via libc-commits
libc-commits at lists.llvm.org
Fri Jun 14 15:54:28 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Haowei (zeroomega)
<details>
<summary>Changes</summary>
This reverts commit eca988aa4420f33810f9830c80ff9f149b7928ff. The underlying libc issue was fixed by PR#<!-- -->95576.
The original PR is #<!-- -->95436 , which adds printf, putchar and vprintf in bareemetal entrypoints
---
Full diff: https://github.com/llvm/llvm-project/pull/95619.diff
2 Files Affected:
- (modified) libc/config/baremetal/arm/entrypoints.txt (+3)
- (modified) libc/config/baremetal/riscv/entrypoints.txt (+3)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/95619
More information about the libc-commits
mailing list