summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/sh/__longjmp.S2
-rw-r--r--libc/sysdeps/linux/sh/longjmp.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sh/__longjmp.S b/libc/sysdeps/linux/sh/__longjmp.S
index 7e2b0b16d..1bab16c94 100644
--- a/libc/sysdeps/linux/sh/__longjmp.S
+++ b/libc/sysdeps/linux/sh/__longjmp.S
@@ -62,3 +62,5 @@ __longjmp:
#endif
.size __longjmp,.-__longjmp;
+.weak __sigprocmask
+__sigprocmask = sigprocmask
diff --git a/libc/sysdeps/linux/sh/longjmp.c b/libc/sysdeps/linux/sh/longjmp.c
index dd4f684ad..14e32d502 100644
--- a/libc/sysdeps/linux/sh/longjmp.c
+++ b/libc/sysdeps/linux/sh/longjmp.c
@@ -44,4 +44,3 @@ void __libc_siglongjmp (sigjmp_buf env, int val)
__asm__(".weak longjmp; longjmp = __libc_siglongjmp");
__asm__(".weak _longjmp; _longjmp = __libc_siglongjmp");
__asm__(".weak siglongjmp; siglongjmp = __libc_siglongjmp");
-__asm__(".weak __sigprocmask; __sigprocmask = sigprocmask");