Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/lib/libc/arch/i386/sys Pull up revision 1.12 (requested...



details:   https://anonhg.NetBSD.org/src/rev/06b9e29f69a9
branches:  netbsd-1-4
changeset: 470895:06b9e29f69a9
user:      he <he%NetBSD.org@localhost>
date:      Sat Sep 09 16:10:56 2000 +0000

description:
Pull up revision 1.12 (requested by he):
  Update old syscall stubs to match the new cerror interface.
  Fixes PR#10789.

diffstat:

 lib/libc/arch/i386/sys/ptrace.S |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 6c2ee15503b6 -r 06b9e29f69a9 lib/libc/arch/i386/sys/ptrace.S
--- a/lib/libc/arch/i386/sys/ptrace.S   Sat Sep 09 16:05:32 2000 +0000
+++ b/lib/libc/arch/i386/sys/ptrace.S   Sat Sep 09 16:10:56 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ptrace.S,v 1.11.2.1 2000/05/05 13:15:59 he Exp $       */
+/*     $NetBSD: ptrace.S,v 1.11.2.2 2000/09/09 16:10:56 he Exp $       */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -40,7 +40,7 @@
 
 #include <machine/asm.h>
 #if defined(SYSLIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: ptrace.S,v 1.11.2.1 2000/05/05 13:15:59 he Exp $")
+       RCSID("$NetBSD: ptrace.S,v 1.11.2.2 2000/09/09 16:10:56 he Exp $")
 #endif /* SYSLIBC_SCCS and not lint */
 
 #include "SYS.h"
@@ -64,7 +64,9 @@
 err:
 #ifdef PIC
        PIC_PROLOGUE
-       jmp     PIC_PLT(CERROR)
+       mov     PIC_GOT(CERROR), %ecx
+       PIC_EPILOGUE
+       jmp     %ecx
 #else
        jmp     CERROR
 #endif



Home | Main Index | Thread Index | Old Index