summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/bsd-setjmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/m68k/bsd-setjmp.S')
-rw-r--r--libc/sysdeps/linux/m68k/bsd-setjmp.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/m68k/bsd-setjmp.S b/libc/sysdeps/linux/m68k/bsd-setjmp.S
index b83573c80..fdd7540a6 100644
--- a/libc/sysdeps/linux/m68k/bsd-setjmp.S
+++ b/libc/sysdeps/linux/m68k/bsd-setjmp.S
@@ -5,6 +5,7 @@
#define _ASM
#define _SETJMP_H
#include <bits/setjmp.h>
+#include "m68k_pic.S"
.globl setjmp;
.type setjmp,@function
@@ -18,6 +19,5 @@ setjmp:
fmovemx %fp2-%fp7, %a0@(JB_FPREGS)
#endif
clrl %d0
- lea __sigjmp_save-.-8, %a0
- jmp 0(%pc, %a0)
+ JUMP __sigjmp_save,%a0