authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-23 01:24:17+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-23 01:24:35+01:00
log4972a871c505d8810df9b4a458d598a54e9440c5
tree2e5ea3725e37eb999c218828a948fc1d8c0a68be
parentea26af0b9d420413e11265777a47aa38c0822a6e
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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

https://www.openwall.com/lists/musl/2024/11/23/2

2 files changed, 4 insertions(+), 0 deletions(-)

lib/libc/musl/src/signal/riscv32/restore.s+2
...@@ -1,7 +1,9 @@...@@ -1,7 +1,9 @@
1.global __restore1.global __restore
2.hidden __restore
2.type __restore, %function3.type __restore, %function
3__restore:4__restore:
4.global __restore_rt5.global __restore_rt
6.hidden __restore_rt
5.type __restore_rt, %function7.type __restore_rt, %function
6__restore_rt:8__restore_rt:
7 li a7, 139 # SYS_rt_sigreturn9 li a7, 139 # SYS_rt_sigreturn
lib/libc/musl/src/signal/riscv64/restore.s+2
...@@ -1,7 +1,9 @@...@@ -1,7 +1,9 @@
1.global __restore1.global __restore
2.hidden __restore
2.type __restore, %function3.type __restore, %function
3__restore:4__restore:
4.global __restore_rt5.global __restore_rt
6.hidden __restore_rt
5.type __restore_rt, %function7.type __restore_rt, %function
6__restore_rt:8__restore_rt:
7 li a7, 139 # SYS_rt_sigreturn9 li a7, 139 # SYS_rt_sigreturn