diff options
-rw-r--r-- | lib/libc/arch/m88k/gen/_setjmp.S | 8 | ||||
-rw-r--r-- | lib/libc/arch/m88k/gen/setjmp.S | 8 | ||||
-rw-r--r-- | lib/libc/arch/m88k/gen/sigsetjmp.S | 10 |
3 files changed, 13 insertions, 13 deletions
diff --git a/lib/libc/arch/m88k/gen/_setjmp.S b/lib/libc/arch/m88k/gen/_setjmp.S index 1bf589e19ec..37b96acafea 100644 --- a/lib/libc/arch/m88k/gen/_setjmp.S +++ b/lib/libc/arch/m88k/gen/_setjmp.S @@ -30,7 +30,7 @@ #if defined(LIBC_SCCS) .text - .string "$OpenBSD: _setjmp.S,v 1.2 2002/09/18 05:03:54 smurph Exp $\0" + .string "$OpenBSD: _setjmp.S,v 1.3 2003/01/02 15:14:07 miod Exp $\0" #endif /* LIBC_SCCS */ #include "SYS.h" @@ -95,13 +95,13 @@ ENTRY(_setjmp) void _longjmp(jmp_buf env, int val); */ ENTRY(_longjmp) - cpm r4,r2,0x0 /* check for bad envnvironment buffer address. */ + cmp r4,r2,0x0 /* check for bad envnvironment buffer address. */ bb1 eq,r4,2f /* if == 0, abort. */ ld r4,r2,80 /* check if environment buffer has */ - cpm r4,r4,0x0 /* already returned. */ + cmp r4,r4,0x0 /* already returned. */ bb1 ne,r4,2f /* if != 0, abort. */ ld r4,r2,84 /* check setjmp type. */ - cpm r4,r4,SETJMP_TYPE2 /* should be SETJMP_TYPE2 */ + cmp r4,r4,SETJMP_TYPE2 /* should be SETJMP_TYPE2 */ bb1 ne,r4,2f /* if != SETJMP_TYPE2, abort. */ ld r14,r2,8 /* restore registers from the environment buffer */ diff --git a/lib/libc/arch/m88k/gen/setjmp.S b/lib/libc/arch/m88k/gen/setjmp.S index 6b2dd7970b2..05cc041ea81 100644 --- a/lib/libc/arch/m88k/gen/setjmp.S +++ b/lib/libc/arch/m88k/gen/setjmp.S @@ -30,7 +30,7 @@ #if defined(LIBC_SCCS) .text - .string "$OpenBSD: setjmp.S,v 1.2 2002/09/18 05:03:54 smurph Exp $\0" + .string "$OpenBSD: setjmp.S,v 1.3 2003/01/02 15:14:07 miod Exp $\0" #endif /* LIBC_SCCS */ #include "SYS.h" @@ -98,13 +98,13 @@ ENTRY(setjmp) void longjmp(jmp_buf env, int retval); */ ENTRY(longjmp) - cpm r4,r2,0x0 /* check for bad envnvironment buffer address. */ + cmp r4,r2,0x0 /* check for bad envnvironment buffer address. */ bb1 eq,r4,2f /* if == 0, abort. */ ld r4,r2,80 /* check if environment buffer has */ - cpm r4,r4,0x0 /* already returned. */ + cmp r4,r4,0x0 /* already returned. */ bb1 ne,r4,2f /* if != 0, abort. */ ld r4,r2,84 /* check setjmp type. */ - cpm r4,r4,SETJMP_TYPE1 /* should be SETJMP_TYPE1 */ + cmp r4,r4,SETJMP_TYPE1 /* should be SETJMP_TYPE1 */ bb1 ne,r4,2f /* if != SETJMP_TYPE1, abort. */ subu r31,r31,32 /* get a temporary stack */ diff --git a/lib/libc/arch/m88k/gen/sigsetjmp.S b/lib/libc/arch/m88k/gen/sigsetjmp.S index f3c8b1161fd..c489bb1c819 100644 --- a/lib/libc/arch/m88k/gen/sigsetjmp.S +++ b/lib/libc/arch/m88k/gen/sigsetjmp.S @@ -30,7 +30,7 @@ #if defined(LIBC_SCCS) .text - .string "$OpenBSD: sigsetjmp.S,v 1.2 2002/09/18 05:03:54 smurph Exp $\0" + .string "$OpenBSD: sigsetjmp.S,v 1.3 2003/01/02 15:14:07 miod Exp $\0" #endif /* LIBC_SCCS */ #include "SYS.h" @@ -106,13 +106,13 @@ ENTRY(sigsetjmp) void siglongjmp(sigjmp_buf env, int val); */ ENTRY(siglongjmp) - cpm r4,r2,0x0 /* check for bad envnvironment buffer address. */ + cmp r4,r2,0x0 /* check for bad envnvironment buffer address. */ bb1 eq,r4,3f /* if == 0, abort. */ ld r4,r2,80 /* check if environment buffer has */ - cpm r4,r4,0x0 /* already returned. */ + cmp r4,r4,0x0 /* already returned. */ bb1 ne,r4,3f /* if != 0, abort. */ ld r4,r2,84 /* check setjmp type. */ - cpm r4,r4,SETJMP_TYPE3 /* should be SETJMP_TYPE3 */ + cmp r4,r4,SETJMP_TYPE3 /* should be SETJMP_TYPE3 */ bb1 ne,r4,3f /* if != SETJMP_TYPE3, abort. */ subu r31,r31,32 /* get a temporary stack */ @@ -134,7 +134,7 @@ ENTRY(siglongjmp) ld r29,r2,68 ld r4,r2,4 /* get the sinal set from env */ - cpm r4,r4,0x0 /* if r2 == 0 then skip signal stuff */ + cmp r4,r4,0x0 /* if r2 == 0 then skip signal stuff */ bb1 eq,r4,1f st r2,r31,24 /* save r2 on stack (environment) */ |