[libc-commits] [PATCH] D147961: [libc] Update supported riscv libs

Mikhail Ramalho via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Apr 17 06:49:09 PDT 2023


mikhail.ramalho updated this revision to Diff 514213.
mikhail.ramalho added a comment.

rebased


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147961/new/

https://reviews.llvm.org/D147961

Files:
  libc/config/linux/riscv64/entrypoints.txt
  libc/config/linux/riscv64/headers.txt


Index: libc/config/linux/riscv64/headers.txt
===================================================================
--- libc/config/linux/riscv64/headers.txt
+++ libc/config/linux/riscv64/headers.txt
@@ -19,6 +19,7 @@
     libc.include.threads
     libc.include.time
     libc.include.unistd
+    libc.include.wchar
 
     libc.include.arpa_inet
 
Index: libc/config/linux/riscv64/entrypoints.txt
===================================================================
--- libc/config/linux/riscv64/entrypoints.txt
+++ libc/config/linux/riscv64/entrypoints.txt
@@ -118,6 +118,8 @@
     libc.src.stdio.remove
     libc.src.stdio.sprintf
     libc.src.stdio.snprintf
+    libc.src.stdio.fprintf
+    libc.src.stdio.printf
 
     # sys/mman.h entrypoints
     libc.src.sys.mman.madvise
@@ -200,6 +202,9 @@
     libc.src.unistd.unlink
     libc.src.unistd.unlinkat
     libc.src.unistd.write
+
+    # wchar.h entrypoints
+    libc.src.wchar.wctob
 )
 
 set(TARGET_LIBM_ENTRYPOINTS
@@ -275,6 +280,7 @@
     libc.src.math.llround
     libc.src.math.llroundf
     libc.src.math.llroundl
+    libc.src.math.log10
     libc.src.math.log10f
     libc.src.math.log1pf
     libc.src.math.log2f
@@ -406,7 +412,6 @@
     libc.src.stdio.funlockfile
     libc.src.stdio.fwrite
     libc.src.stdio.fwrite_unlocked
-    libc.src.stdio.fprintf
     libc.src.stdio.getc
     libc.src.stdio.getc_unlocked
     libc.src.stdio.getchar


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147961.514213.patch
Type: text/x-patch
Size: 1405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230417/46bac45e/attachment.bin>


More information about the libc-commits mailing list