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/vax/sys Pull up revision 1.4 (requested b...



details:   https://anonhg.NetBSD.org/src/rev/a18f66e8e6da
branches:  netbsd-1-4
changeset: 470305:a18f66e8e6da
user:      he <he%NetBSD.org@localhost>
date:      Mon Feb 07 19:48:40 2000 +0000

description:
Pull up revision 1.4 (requested by kleink):
  Implement *__errno() indirection.

diffstat:

 lib/libc/arch/vax/sys/Ovfork.S |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 27272843bfd2 -r a18f66e8e6da lib/libc/arch/vax/sys/Ovfork.S
--- a/lib/libc/arch/vax/sys/Ovfork.S    Mon Feb 07 19:48:18 2000 +0000
+++ b/lib/libc/arch/vax/sys/Ovfork.S    Mon Feb 07 19:48:40 2000 +0000
@@ -33,7 +33,7 @@
 
 #if defined(SYSLIBC_SCCS) && !defined(lint)
        /* .asciz "@(#)Ovfork.s 8.1 (Berkeley) 6/4/93" */
-       .asciz "$NetBSD: Ovfork.S,v 1.3 1998/12/02 19:29:57 thorpej Exp $"
+       .asciz "$NetBSD: Ovfork.S,v 1.3.2.1 2000/02/07 19:48:40 he Exp $"
 #endif /* SYSLIBC_SCCS and not lint */
 
 /*
@@ -70,6 +70,14 @@
        jmp     (r2)
 
 err:
+#ifdef _REENTRANT
+       pushr   $0x5
+       calls   $0,___errno
+       movl    (sp)+,(r0)
+       mnegl   $1,r0
+       rsb
+#else
        movl    r0,_errno
        mnegl   $1,r0
        jmp     (r2)
+#endif



Home | Main Index | Thread Index | Old Index