Call cerror through the PLT.
This commit is contained in:
parent
4c03a95577
commit
5b2a4f0824
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: SYS.h,v 1.10 1999/01/14 22:48:20 kleink Exp $ */
|
||||
/* $NetBSD: SYS.h,v 1.11 1999/05/02 23:19:49 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -63,7 +63,7 @@
|
||||
|
||||
#define _SYSCALL(x,y) \
|
||||
.even; \
|
||||
err: jra CERROR; \
|
||||
err: jra PIC_PLT(CERROR); \
|
||||
_SYSCALL_NOERROR(x,y); \
|
||||
jcs err
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: __sigreturn14.S,v 1.2 1999/01/14 22:48:20 kleink Exp $ */
|
||||
/* $NetBSD: __sigreturn14.S,v 1.3 1999/05/02 23:19:50 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -43,7 +43,7 @@
|
||||
#if 0
|
||||
RCSID("from: @(#)sigreturn.s 5.1 (Berkeley) 5/12/90")
|
||||
#else
|
||||
RCSID("$NetBSD: __sigreturn14.S,v 1.2 1999/01/14 22:48:20 kleink Exp $")
|
||||
RCSID("$NetBSD: __sigreturn14.S,v 1.3 1999/05/02 23:19:50 kleink Exp $")
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -60,4 +60,4 @@
|
||||
|
||||
ENTRY(__sigreturn14)
|
||||
trap #3 /* special sigreturn syscall entry point */
|
||||
jra CERROR
|
||||
jra PIC_PLT(CERROR)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: brk.S,v 1.7 1999/01/14 22:48:20 kleink Exp $ */
|
||||
/* $NetBSD: brk.S,v 1.8 1999/05/02 23:19:50 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -43,7 +43,7 @@
|
||||
#if 0
|
||||
RCSID("from: @(#)brk.s 5.1 (Berkeley) 5/12/90")
|
||||
#else
|
||||
RCSID("$NetBSD: brk.S,v 1.7 1999/01/14 22:48:20 kleink Exp $")
|
||||
RCSID("$NetBSD: brk.S,v 1.8 1999/05/02 23:19:50 kleink Exp $")
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -81,4 +81,4 @@ ok:
|
||||
clrl d0
|
||||
rts
|
||||
err:
|
||||
jra CERROR
|
||||
jra PIC_PLT(CERROR)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: exect.S,v 1.4 1999/01/14 22:48:20 kleink Exp $ */
|
||||
/* $NetBSD: exect.S,v 1.5 1999/05/02 23:19:50 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -44,11 +44,11 @@
|
||||
#if 0
|
||||
RCSID("from: @(#)exect.s 5.1 (Berkeley) 5/12/90")
|
||||
#else
|
||||
RCSID("$NetBSD: exect.S,v 1.4 1999/01/14 22:48:20 kleink Exp $")
|
||||
RCSID("$NetBSD: exect.S,v 1.5 1999/05/02 23:19:50 kleink Exp $")
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
ENTRY(exect)
|
||||
movl #SYS_execve,d0
|
||||
trap #0
|
||||
jra CERROR /* exect(file, argv, env) */
|
||||
jra PIC_PLT(CERROR) /* exect(file, argv, env) */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ptrace.S,v 1.7 1999/05/02 20:52:03 kleink Exp $ */
|
||||
/* $NetBSD: ptrace.S,v 1.8 1999/05/02 23:19:50 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -43,7 +43,7 @@
|
||||
#if 0
|
||||
RCSID("from: @(#)ptrace.s 5.1 (Berkeley) 5/12/90")
|
||||
#else
|
||||
RCSID("$NetBSD: ptrace.S,v 1.7 1999/05/02 20:52:03 kleink Exp $")
|
||||
RCSID("$NetBSD: ptrace.S,v 1.8 1999/05/02 23:19:50 kleink Exp $")
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -82,4 +82,4 @@ ENTRY(ptrace)
|
||||
jcs err
|
||||
rts
|
||||
err:
|
||||
jra CERROR
|
||||
jra PIC_PLT(CERROR)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sbrk.S,v 1.7 1999/01/14 22:48:20 kleink Exp $ */
|
||||
/* $NetBSD: sbrk.S,v 1.8 1999/05/02 23:19:50 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -43,7 +43,7 @@
|
||||
#if 0
|
||||
RCSID("from: @(#)sbrk.s 5.1 (Berkeley) 5/12/90")
|
||||
#else
|
||||
RCSID("$NetBSD: sbrk.S,v 1.7 1999/01/14 22:48:20 kleink Exp $")
|
||||
RCSID("$NetBSD: sbrk.S,v 1.8 1999/05/02 23:19:50 kleink Exp $")
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -76,4 +76,4 @@ ENTRY(sbrk)
|
||||
#endif
|
||||
rts
|
||||
err:
|
||||
jra CERROR
|
||||
jra PIC_PLT(CERROR)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sigprocmask.S,v 1.7 1999/01/14 22:48:20 kleink Exp $ */
|
||||
/* $NetBSD: sigprocmask.S,v 1.8 1999/05/02 23:19:50 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -43,7 +43,7 @@
|
||||
#if 0
|
||||
RCSID("from: @(#)sigprocmask.s 5.2 (Berkeley) 6/6/90")
|
||||
#else
|
||||
RCSID("$NetBSD: sigprocmask.S,v 1.7 1999/01/14 22:48:20 kleink Exp $")
|
||||
RCSID("$NetBSD: sigprocmask.S,v 1.8 1999/05/02 23:19:50 kleink Exp $")
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -71,4 +71,4 @@ out:
|
||||
clrl d0
|
||||
rts
|
||||
err:
|
||||
jra CERROR
|
||||
jra PIC_PLT(CERROR)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sigreturn.S,v 1.7 1999/01/14 22:48:20 kleink Exp $ */
|
||||
/* $NetBSD: sigreturn.S,v 1.8 1999/05/02 23:19:50 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -43,7 +43,7 @@
|
||||
#if 0
|
||||
RCSID("from: @(#)sigreturn.s 5.1 (Berkeley) 5/12/90")
|
||||
#else
|
||||
RCSID("$NetBSD: sigreturn.S,v 1.7 1999/01/14 22:48:20 kleink Exp $")
|
||||
RCSID("$NetBSD: sigreturn.S,v 1.8 1999/05/02 23:19:50 kleink Exp $")
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -66,4 +66,4 @@ WARN_REFERENCES(sigreturn, \
|
||||
*/
|
||||
ENTRY(sigreturn)
|
||||
trap #1 /* signals compat_13_sigreturn13() */
|
||||
jra CERROR
|
||||
jra PIC_PLT(CERROR)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sigsuspend.S,v 1.7 1999/01/14 22:48:20 kleink Exp $ */
|
||||
/* $NetBSD: sigsuspend.S,v 1.8 1999/05/02 23:19:50 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -43,7 +43,7 @@
|
||||
#if 0
|
||||
RCSID("from: @(#)sigsuspend.s 5.2 (Berkeley) 6/6/90")
|
||||
#else
|
||||
RCSID("$NetBSD: sigsuspend.S,v 1.7 1999/01/14 22:48:20 kleink Exp $")
|
||||
RCSID("$NetBSD: sigsuspend.S,v 1.8 1999/05/02 23:19:50 kleink Exp $")
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -59,4 +59,4 @@ ENTRY(sigsuspend)
|
||||
clrl d0 /* shouldn't happen */
|
||||
rts
|
||||
err:
|
||||
jra CERROR
|
||||
jra PIC_PLT(CERROR)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: syscall.S,v 1.4 1999/01/14 22:48:20 kleink Exp $ */
|
||||
/* $NetBSD: syscall.S,v 1.5 1999/05/02 23:19:50 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -43,7 +43,7 @@
|
||||
#if 0
|
||||
RCSID("from: @(#)syscall.s 5.1 (Berkeley) 5/12/90")
|
||||
#else
|
||||
RCSID("$NetBSD: syscall.S,v 1.4 1999/01/14 22:48:20 kleink Exp $")
|
||||
RCSID("$NetBSD: syscall.S,v 1.5 1999/05/02 23:19:50 kleink Exp $")
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -53,4 +53,4 @@ ENTRY(syscall)
|
||||
jcs err
|
||||
rts
|
||||
err:
|
||||
jra CERROR
|
||||
jra PIC_PLT(CERROR)
|
||||
|
Loading…
Reference in New Issue
Block a user