summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc64/sigaction.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-05-08 11:12:30 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-05-08 11:19:14 +0200
commit035e048fd68141779c147e387f608e8da6713d57 (patch)
tree358fc1bf9a0e0bfece3796dd59906013e358b891 /libc/sysdeps/linux/sparc64/sigaction.c
parent4bcf25e75df857806623ff80924675bf849a60d2 (diff)
sparc64: Fix incorrect sigreturn stub function implementation
Diffstat (limited to 'libc/sysdeps/linux/sparc64/sigaction.c')
-rw-r--r--libc/sysdeps/linux/sparc64/sigaction.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/libc/sysdeps/linux/sparc64/sigaction.c b/libc/sysdeps/linux/sparc64/sigaction.c
index d8aaad0fb..b28fa659a 100644
--- a/libc/sysdeps/linux/sparc64/sigaction.c
+++ b/libc/sysdeps/linux/sparc64/sigaction.c
@@ -26,7 +26,7 @@
/* SPARC 64bit userland requires a kernel that has rt signals anyway. */
-static void __rt_sigreturn_stub (void);
+void __rt_sigreturn_stub (void);
int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
{
@@ -67,11 +67,3 @@ libc_hidden_weak(sigaction)
# endif
#endif
-static void
-__rt_sigreturn_stub (void)
-{
- __asm__ ("mov %0, %%g1\n\t"
- "ta 0x6d\n\t"
- : /* no outputs */
- : "i" (__NR_rt_sigreturn));
-}