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



details:   https://anonhg.NetBSD.org/src/rev/ccc47df1a989
branches:  netbsd-1-4
changeset: 470555:ccc47df1a989
user:      he <he%NetBSD.org@localhost>
date:      Fri May 05 13:16:47 2000 +0000

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

diffstat:

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

diffs (32 lines):

diff -r 8e251514e08b -r ccc47df1a989 lib/libc/arch/i386/sys/sbrk.S
--- a/lib/libc/arch/i386/sys/sbrk.S     Fri May 05 13:16:23 2000 +0000
+++ b/lib/libc/arch/i386/sys/sbrk.S     Fri May 05 13:16:47 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbrk.S,v 1.10 1999/02/08 18:56:48 christos Exp $       */
+/*     $NetBSD: sbrk.S,v 1.10.2.1 2000/05/05 13:16:47 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: sbrk.S,v 1.10 1999/02/08 18:56:48 christos Exp $")
+       RCSID("$NetBSD: sbrk.S,v 1.10.2.1 2000/05/05 13:16:47 he Exp $")
 #endif /* SYSLIBC_SCCS and not lint */
 
 #include "SYS.h"
@@ -71,10 +71,10 @@
        ret
 err:
        PIC_PROLOGUE
-       jmp     PIC_PLT(CERROR)
-
+       mov     PIC_GOT(CERROR), %ecx
+       PIC_EPILOGUE
+       jmp     %ecx
 #else
-
        movl    4(%esp),%ecx
        movl    CURBRK,%eax
        addl    %eax,4(%esp)



Home | Main Index | Thread Index | Old Index