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

Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Mar 16 02:18:05 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG63ed8ab4dbb3: [libc] Update supported riscv libs (authored by Mikhail R. Gadelha <mikhail at igalia.com>).

Changed prior to commit:
  https://reviews.llvm.org/D146065?vs=505203&id=505729#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146065

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
@@ -2,20 +2,29 @@
     libc.include.assert
     libc.include.ctype
     libc.include.errno
+    libc.include.fcntl
     libc.include.fenv
     libc.include.inttypes
     libc.include.math
     libc.include.pthread
-    libc.include.signal
     libc.include.sched
+    libc.include.signal
     libc.include.stdio
     libc.include.stdlib
     libc.include.string
     libc.include.strings
-    libc.include.sys_mman
-    libc.include.sys_socket
-    libc.include.sys_syscall
+    libc.include.termios
     libc.include.threads
     libc.include.time
     libc.include.unistd
+
+    libc.include.sys_mman
+    libc.include.sys_random
+    libc.include.sys_resource
+    libc.include.sys_select
+    libc.include.sys_socket
+    libc.include.sys_stat
+    libc.include.sys_syscall
+    libc.include.sys_utsname
+    libc.include.sys_wait
 )
Index: libc/config/linux/riscv64/entrypoints.txt
===================================================================
--- libc/config/linux/riscv64/entrypoints.txt
+++ libc/config/linux/riscv64/entrypoints.txt
@@ -321,6 +321,9 @@
 
 if(LLVM_LIBC_FULL_BUILD)
   list(APPEND TARGET_LIBC_ENTRYPOINTS
+    # assert.h entrypoints
+    libc.src.assert.__assert_fail
+
     # network.h entrypoints
     libc.src.network.htonl
     libc.src.network.htons
@@ -378,6 +381,8 @@
     libc.src.stdio.ferror
     libc.src.stdio.ferror_unlocked
     libc.src.stdio.fgetc
+    libc.src.stdio.fgetc_unlocked
+    libc.src.stdio.fgets
     libc.src.stdio.fflush
     libc.src.stdio.fopen
     libc.src.stdio.fputc
@@ -386,20 +391,30 @@
     libc.src.stdio.fread
     libc.src.stdio.fread_unlocked
     libc.src.stdio.fseek
+    libc.src.stdio.ftell
     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.printf
+    libc.src.stdio.sscanf
+    libc.src.stdio.scanf
+    libc.src.stdio.fscanf
     libc.src.stdio.putc
     libc.src.stdio.putchar
     libc.src.stdio.puts
+    libc.src.stdio.setbuf
+    libc.src.stdio.setvbuf
     libc.src.stdio.stderr
     libc.src.stdio.stdin
     libc.src.stdio.stdout
+    libc.src.stdio.ungetc
 
     # stdlib.h entrypoints
     libc.src.stdlib._Exit
+    libc.src.stdlib.abort
     libc.src.stdlib.atexit
     libc.src.stdlib.exit
     libc.src.stdlib.getenv


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146065.505729.patch
Type: text/x-patch
Size: 2560 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230316/be382422/attachment-0001.bin>


More information about the libc-commits mailing list