summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/setjmp/sh/setjmp.s3
-rw-r--r--src/signal/sh/sigsetjmp.s5
2 files changed, 6 insertions, 2 deletions
diff --git a/src/setjmp/sh/setjmp.s b/src/setjmp/sh/setjmp.s
index 49e2d985..ffde8687 100644
--- a/src/setjmp/sh/setjmp.s
+++ b/src/setjmp/sh/setjmp.s
@@ -1,9 +1,12 @@
+.global ___setjmp
+.hidden ___setjmp
.global __setjmp
.global _setjmp
.global setjmp
.type __setjmp, @function
.type _setjmp, @function
.type setjmp, @function
+___setjmp:
__setjmp:
_setjmp:
setjmp:
diff --git a/src/signal/sh/sigsetjmp.s b/src/signal/sh/sigsetjmp.s
index 7d1e7c95..16256e5f 100644
--- a/src/signal/sh/sigsetjmp.s
+++ b/src/signal/sh/sigsetjmp.s
@@ -34,7 +34,8 @@ __sigsetjmp:
nop
.align 2
-1: .long setjmp@PLT-(2b+4-.)
+.hidden ___setjmp
+1: .long ___setjmp@PLT-(2b+4-.)
.hidden __sigsetjmp_tail
3: .long __sigsetjmp_tail@PLT-(4b+4-.)
-5: .long setjmp@PLT-(6b+4-.)
+5: .long ___setjmp@PLT-(6b+4-.)