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.9 (requested ...



details:   https://anonhg.NetBSD.org/src/rev/7957f156604a
branches:  netbsd-1-4
changeset: 470552:7957f156604a
user:      he <he%NetBSD.org@localhost>
date:      Fri May 05 13:10:56 2000 +0000

description:
Pull up revision 1.9 (requested by assar):
  Repair syscall stubs which were not adapted when the cerror
  interface was changed.

diffstat:

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

diffs (29 lines):

diff -r 75caab89891d -r 7957f156604a lib/libc/arch/i386/sys/syscall.S
--- a/lib/libc/arch/i386/sys/syscall.S  Fri May 05 13:06:52 2000 +0000
+++ b/lib/libc/arch/i386/sys/syscall.S  Fri May 05 13:10:56 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syscall.S,v 1.8 1999/02/08 18:56:48 christos Exp $     */
+/*     $NetBSD: syscall.S,v 1.8.2.1 2000/05/05 13: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: syscall.S,v 1.8 1999/02/08 18:56:48 christos Exp $")
+       RCSID("$NetBSD: syscall.S,v 1.8.2.1 2000/05/05 13:10:56 he Exp $")
 #endif /* SYSLIBC_SCCS and not lint */
 
 #include "SYS.h"
@@ -56,7 +56,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