musl: Mark __restore(_rt) functions hidden on riscv.

https://www.openwall.com/lists/musl/2024/11/23/2
This commit is contained in:
Alex Rønne Petersen 2024-11-23 01:24:17 +01:00
parent ea26af0b9d
commit 4972a871c5
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View File

@ -1,7 +1,9 @@
.global __restore
.hidden __restore
.type __restore, %function
__restore:
.global __restore_rt
.hidden __restore_rt
.type __restore_rt, %function
__restore_rt:
li a7, 139 # SYS_rt_sigreturn

View File

@ -1,7 +1,9 @@
.global __restore
.hidden __restore
.type __restore, %function
__restore:
.global __restore_rt
.hidden __restore_rt
.type __restore_rt, %function
__restore_rt:
li a7, 139 # SYS_rt_sigreturn