[libc-commits] [libc] eca988a - Revert "[libc] printf, putchar and vprintf in bareemetal entrypoints (#95436)"

Haowei Wu via libc-commits libc-commits at lists.llvm.org
Fri Jun 14 10:32:35 PDT 2024


Author: Haowei Wu
Date: 2024-06-14T10:32:24-07:00
New Revision: eca988aa4420f33810f9830c80ff9f149b7928ff

URL: https://github.com/llvm/llvm-project/commit/eca988aa4420f33810f9830c80ff9f149b7928ff
DIFF: https://github.com/llvm/llvm-project/commit/eca988aa4420f33810f9830c80ff9f149b7928ff.diff

LOG: Revert "[libc] printf, putchar and vprintf in bareemetal entrypoints (#95436)"

This reverts commit b1de42a81d838bb0c6dea7d2436820a2456c730b, which
breaks libc build for baremetal targets.

Added: 
    

Modified: 
    libc/config/baremetal/arm/entrypoints.txt
    libc/config/baremetal/riscv/entrypoints.txt

Removed: 
    


################################################################################
diff  --git a/libc/config/baremetal/arm/entrypoints.txt b/libc/config/baremetal/arm/entrypoints.txt
index 2930d718fdb21..7fb82c60a1bb8 100644
--- a/libc/config/baremetal/arm/entrypoints.txt
+++ b/libc/config/baremetal/arm/entrypoints.txt
@@ -80,11 +80,8 @@ 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 6d38676b1e8a8..b769b43f03a2c 100644
--- a/libc/config/baremetal/riscv/entrypoints.txt
+++ b/libc/config/baremetal/riscv/entrypoints.txt
@@ -80,11 +80,8 @@ 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