Skip to content

Commit 28e6095

Browse files
[libc] Add working entrypoints to riscv (#99885)
Added new fsqrt entrypoints and updated headers.txt, which I missed in PR #99771
1 parent 7ddcf7a commit 28e6095

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

libc/config/linux/riscv/entrypoints.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,8 @@ set(TARGET_LIBM_ENTRYPOINTS
449449
libc.src.math.fromfpx
450450
libc.src.math.fromfpxf
451451
libc.src.math.fromfpxl
452+
libc.src.math.fsqrt
453+
libc.src.math.fsqrtl
452454
libc.src.math.hypot
453455
libc.src.math.hypotf
454456
libc.src.math.ilogb
@@ -575,6 +577,7 @@ if(LIBC_TYPES_HAS_FLOAT128)
575577
libc.src.math.frexpf128
576578
libc.src.math.fromfpf128
577579
libc.src.math.fromfpxf128
580+
libc.src.math.fsqrtf128
578581
libc.src.math.ilogbf128
579582
libc.src.math.ldexpf128
580583
libc.src.math.llogbf128

libc/config/linux/riscv/headers.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ set(TARGET_PUBLIC_HEADERS
22
libc.include.assert
33
libc.include.ctype
44
libc.include.dirent
5+
libc.include.dlfcn
56
libc.include.errno
67
libc.include.fcntl
78
libc.include.features
@@ -18,6 +19,7 @@ set(TARGET_PUBLIC_HEADERS
1819
libc.include.setjmp
1920
libc.include.stdckdint
2021
libc.include.stdbit
22+
libc.include.stdfix
2123
libc.include.stdio
2224
libc.include.stdlib
2325
libc.include.string
@@ -33,13 +35,12 @@ set(TARGET_PUBLIC_HEADERS
3335
libc.include.arpa_inet
3436

3537
libc.include.sys_auxv
36-
# Disabled due to epoll_wait syscalls not being available on this platform.
37-
# libc.include.sys_epoll
38+
libc.include.sys_epoll
3839
libc.include.sys_ioctl
3940
libc.include.sys_mman
4041
libc.include.sys_prctl
41-
libc.include.sys_random
4242
libc.include.sys_queue
43+
libc.include.sys_random
4344
libc.include.sys_resource
4445
libc.include.sys_select
4546
libc.include.sys_socket

0 commit comments

Comments
 (0)