Don't use 1: label; it is uses by the PIC_PROLOGUE macro and we jmp in the

wrong place!
This commit is contained in:
christos 1999-02-22 13:07:14 +00:00
parent ffa92484e2
commit ae6215337e
3 changed files with 20 additions and 20 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: __sigsetjmp14.S,v 1.3 1999/02/13 16:13:49 christos Exp $ */
/* $NetBSD: __sigsetjmp14.S,v 1.4 1999/02/22 13:07:14 christos Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -40,7 +40,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: __sigsetjmp14.S,v 1.3 1999/02/13 16:13:49 christos Exp $")
RCSID("$NetBSD: __sigsetjmp14.S,v 1.4 1999/02/22 13:07:14 christos Exp $")
#endif
ENTRY(__sigsetjmp14)
@ -57,7 +57,7 @@ ENTRY(__sigsetjmp14)
movl 8(%esp),%eax
movl %eax,40(%ecx)
testl %eax,%eax
jz 1f /* no, skip */
jz 2f /* no, skip */
/* Get the signal mask. */
leal 24(%ecx),%edx
@ -74,14 +74,14 @@ ENTRY(__sigsetjmp14)
addl $12,%esp
PIC_EPILOGUE
1: xorl %eax,%eax
2: xorl %eax,%eax
ret
ENTRY(__siglongjmp14)
/* Check to see if we need to restore the signal mask. */
movl 4(%esp),%ecx
cmpl $0,40(%ecx)
jz 1f /* no, skip */
jz 2f /* no, skip */
/* Restore the signal mask. */
leal 24(%ecx),%edx
@ -98,7 +98,7 @@ ENTRY(__siglongjmp14)
addl $12,%esp
PIC_EPILOGUE
1: movl 4(%esp),%edx
2: movl 4(%esp),%edx
movl 8(%esp),%eax
movl 0(%edx),%ecx
movl 4(%edx),%ebx
@ -107,7 +107,7 @@ ENTRY(__siglongjmp14)
movl 16(%edx),%esi
movl 20(%edx),%edi
testl %eax,%eax
jnz 2f
jnz 3f
incl %eax
2: movl %ecx,0(%esp)
3: movl %ecx,0(%esp)
ret

View File

@ -1,4 +1,4 @@
/* $NetBSD: fixunsdfsi.S,v 1.9 1997/07/16 14:37:17 christos Exp $ */
/* $NetBSD: fixunsdfsi.S,v 1.10 1999/02/22 13:07:14 christos Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -40,7 +40,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: fixunsdfsi.S,v 1.9 1997/07/16 14:37:17 christos Exp $")
RCSID("$NetBSD: fixunsdfsi.S,v 1.10 1999/02/22 13:07:14 christos Exp $")
#endif
ENTRY(__fixunsdfsi)
@ -56,13 +56,13 @@ ENTRY(__fixunsdfsi)
#endif
fstsw %ax
sahf
jnb 1f
jnb 2f
fistpl 4(%esp)
movl 4(%esp),%eax
ret
1:
2:
#ifdef PIC
PIC_PROLOGUE
leal PIC_GOTOFF(fbiggestsigned),%eax

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigsetjmp.S,v 1.13 1999/02/13 16:13:49 christos Exp $ */
/* $NetBSD: sigsetjmp.S,v 1.14 1999/02/22 13:07:14 christos Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -40,7 +40,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: sigsetjmp.S,v 1.13 1999/02/13 16:13:49 christos Exp $")
RCSID("$NetBSD: sigsetjmp.S,v 1.14 1999/02/22 13:07:14 christos Exp $")
#endif
ENTRY(sigsetjmp)
@ -48,7 +48,7 @@ ENTRY(sigsetjmp)
movl 8(%esp),%eax
movl %eax,28(%ecx)
testl %eax,%eax
jz 1f
jz 2f
PIC_PROLOGUE
pushl $0
@ -62,7 +62,7 @@ ENTRY(sigsetjmp)
movl 4(%esp),%ecx
movl %eax,24(%ecx)
1: movl 0(%esp),%edx
2: movl 0(%esp),%edx
movl %edx, 0(%ecx)
movl %ebx, 4(%ecx)
movl %esp, 8(%ecx)
@ -75,7 +75,7 @@ ENTRY(sigsetjmp)
ENTRY(siglongjmp)
movl 4(%esp),%edx
cmpl $0,28(%edx)
jz 1f
jz 2f
PIC_PROLOGUE
pushl 24(%edx)
@ -87,7 +87,7 @@ ENTRY(siglongjmp)
addl $4,%esp
PIC_EPILOGUE
1: movl 4(%esp),%edx
2: movl 4(%esp),%edx
movl 8(%esp),%eax
movl 0(%edx),%ecx
movl 4(%edx),%ebx
@ -96,7 +96,7 @@ ENTRY(siglongjmp)
movl 16(%edx),%esi
movl 20(%edx),%edi
testl %eax,%eax
jnz 2f
jnz 3f
incl %eax
2: movl %ecx,0(%esp)
3: movl %ecx,0(%esp)
ret