Use the symbolic constant SYS_exit.
This commit is contained in:
parent
35d282c8d5
commit
f52431f2a3
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sigcode.s,v 1.2 1997/04/25 02:22:03 thorpej Exp $ */
|
||||
/* $NetBSD: sigcode.s,v 1.3 1998/09/30 22:26:28 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
|
@ -74,7 +74,7 @@ GLOBAL(sigcode)
|
|||
GLOBAL(sigcodetrap)
|
||||
trap #1 | special syscall entry (2 bytes)
|
||||
movl d0,sp@(4) | save errno (4 bytes)
|
||||
moveq #1,d0 | syscall == exit (2 bytes)
|
||||
moveq #SYS_exit,d0 | syscall == exit (2 bytes)
|
||||
trap #0 | exit(errno) (2 bytes)
|
||||
.align 2
|
||||
GLOBAL(esigcode)
|
||||
|
|
Loading…
Reference in New Issue