summaryrefslogtreecommitdiff
path: root/src/signal/sh/restore.s
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-11 11:57:31 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:34 -0400
commitb6e59cd925cbe6c0f23cf46828d47e6e7edd17c9 (patch)
tree80f65cea882a2e729066620956758bf38d9a4fce /src/signal/sh/restore.s
parent50fea6c75f7bb610eb33bc676224e8fbd2329338 (diff)
downloadmusl-b6e59cd925cbe6c0f23cf46828d47e6e7edd17c9.tar.gz
apply hidden visibility to sigreturn code fragments
these were overlooked in the declarations overhaul work because they are not properly declared, and the current framework even allows their declared types to vary by arch. at some point this should be cleaned up, but I'm not sure what the right way would be.
Diffstat (limited to 'src/signal/sh/restore.s')
-rw-r--r--src/signal/sh/restore.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/signal/sh/restore.s b/src/signal/sh/restore.s
index d5df8e14..3a92199d 100644
--- a/src/signal/sh/restore.s
+++ b/src/signal/sh/restore.s
@@ -1,4 +1,5 @@
.global __restore
+.hidden __restore
__restore:
mov #119, r3 !__NR_sigreturn
trapa #31
@@ -10,6 +11,7 @@ __restore:
or r0, r0
.global __restore_rt
+.hidden __restore_rt
__restore_rt:
mov #100, r3 !__NR_rt_sigreturn
add #73, r3