summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/setjmp.S
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2001-05-08 13:56:56 +0000
committerDavid McCullough <davidm@snapgear.com>2001-05-08 13:56:56 +0000
commit05669c069b1fd888b930240e9985eee17468fdd4 (patch)
tree620aa75b4f755d8371de9ac8a6114df0db4fa24f /libc/sysdeps/linux/m68k/setjmp.S
parent59674ac81273444cc2e7f4a956249ff88042ede8 (diff)
Quick fix to setjmp/longjmp/sigsetjmp etc to make them work.
This should really be fixed to fall into line with the other archs.
Diffstat (limited to 'libc/sysdeps/linux/m68k/setjmp.S')
-rw-r--r--libc/sysdeps/linux/m68k/setjmp.S16
1 files changed, 8 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/m68k/setjmp.S b/libc/sysdeps/linux/m68k/setjmp.S
index 3ff05425f..d104d78ac 100644
--- a/libc/sysdeps/linux/m68k/setjmp.S
+++ b/libc/sysdeps/linux/m68k/setjmp.S
@@ -39,10 +39,10 @@
#define fp REG (fp)
#define sp REG (sp)
-.global SYM (setjmp)
-.global SYM (longjmp)
+.global SYM (__setjmp)
+.global SYM (__longjmp)
-SYM (setjmp):
+SYM (__setjmp):
moveal sp@(4),a0
movel sp@(0),a0@(12)
movel sp,a0@(8)
@@ -50,7 +50,7 @@ SYM (setjmp):
clrl d0
rts
-SYM (longjmp):
+SYM (__longjmp):
moveal sp@(4),a0
movel sp@(8),d0
bne 1f
@@ -62,10 +62,10 @@ SYM (longjmp):
rts
#ifdef M68881
-.global SYM (setjmp_68881)
-.global SYM (longjmp_68881)
+.global SYM (__setjmp_68881)
+.global SYM (__longjmp_68881)
-SYM (setjmp_68881):
+SYM (__setjmp_68881):
moveal sp@(4),a0
movel sp@(0),a0@(12)
movel sp,a0@(8)
@@ -74,7 +74,7 @@ SYM (setjmp_68881):
clrl d0
rts
-SYM (longjmp_68881):
+SYM (__longjmp_68881):
moveal sp@(4),a0
fmovemx a0@(64),fp2-fp7
movel sp@(8),d0