* [musl] [PATCH] riscv: Mark __restore and __restore_rt hidden.
@ 2024-11-23 0:20 Alex Rønne Petersen
0 siblings, 0 replies; only message in thread
From: Alex Rønne Petersen @ 2024-11-23 0:20 UTC (permalink / raw)
To: musl; +Cc: Alex Rønne Petersen
These were presumably never intended to be public as they aren't on other
architectures. I would hope nobody took a dependency on these.
---
src/signal/riscv32/restore.s | 2 ++
src/signal/riscv64/restore.s | 2 ++
2 files changed, 4 insertions(+)
diff --git a/src/signal/riscv32/restore.s b/src/signal/riscv32/restore.s
index 40012c75..5a0af695 100644
--- a/src/signal/riscv32/restore.s
+++ b/src/signal/riscv32/restore.s
@@ -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
diff --git a/src/signal/riscv64/restore.s b/src/signal/riscv64/restore.s
index 40012c75..5a0af695 100644
--- a/src/signal/riscv64/restore.s
+++ b/src/signal/riscv64/restore.s
@@ -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
--
2.40.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-23 0:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-23 0:20 [musl] [PATCH] riscv: Mark __restore and __restore_rt hidden Alex Rønne Petersen
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).