diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-07-28 08:48:18 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-07-28 08:48:18 +0000 |
commit | f886b8bcc1de85df5e9fb3c8a14a1e60d1481454 (patch) | |
tree | b1c602ca802db1c2202e57419766a92c071243cc /lib | |
parent | 367dfb39173fd1367eacbb49f271ab85219ba6c7 (diff) |
Update stack frame processing after ABI change.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/arch/m88k/SYS.h | 8 | ||||
-rw-r--r-- | lib/libc/arch/m88k/sys/syscall.S | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/arch/m88k/SYS.h b/lib/libc/arch/m88k/SYS.h index e40aaf9d79f..81cb2611ac6 100644 --- a/lib/libc/arch/m88k/SYS.h +++ b/lib/libc/arch/m88k/SYS.h @@ -1,4 +1,4 @@ -/* $OpenBSD: SYS.h,v 1.10 2003/06/02 20:18:31 millert Exp $*/ +/* $OpenBSD: SYS.h,v 1.11 2004/07/28 08:48:15 miod Exp $*/ /*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. @@ -48,9 +48,9 @@ #endif #define __DO_SYSCALL(x) \ - ld r10,r31,32; \ - ld r11,r31,36; \ - ld r12,r31,40; \ + ld r10,r31,0; \ + ld r11,r31,4; \ + ld r12,r31,8; \ or r13,r0,__SYSCALLNAME(SYS_,x); \ tb0 0, r0, 128 diff --git a/lib/libc/arch/m88k/sys/syscall.S b/lib/libc/arch/m88k/sys/syscall.S index 446d6835d71..9ba4d2c0cd1 100644 --- a/lib/libc/arch/m88k/sys/syscall.S +++ b/lib/libc/arch/m88k/sys/syscall.S @@ -1,4 +1,4 @@ -/* $OpenBSD: syscall.S,v 1.7 2003/12/08 19:36:29 millert Exp $ */ +/* $OpenBSD: syscall.S,v 1.8 2004/07/28 08:48:17 miod Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -35,15 +35,15 @@ #if defined(LIBC_SCCS) .data - .string "$OpenBSD: syscall.S,v 1.7 2003/12/08 19:36:29 millert Exp $" + .string "$OpenBSD: syscall.S,v 1.8 2004/07/28 08:48:17 miod Exp $" #endif /* LIBC_SCCS */ #include "SYS.h" SYSENTRY(syscall) - ld r10,r31,32 - ld r11,r31,36 - ld r12,r31,40 + ld r10,r31,0 + ld r11,r31,4 + ld r12,r31,8 or r13,r0,0 tb0 0,r0,128 br __cerror |