diff --git a/libc/config/linux/riscv64/entrypoints.txt b/libc/config/linux/riscv64/entrypoints.txt --- a/libc/config/linux/riscv64/entrypoints.txt +++ b/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 diff --git a/libc/config/linux/riscv64/headers.txt b/libc/config/linux/riscv64/headers.txt --- a/libc/config/linux/riscv64/headers.txt +++ b/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