Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/vax Add the *context.? sources to SRCS.



details:   https://anonhg.NetBSD.org/src/rev/6c2552d9ae13
branches:  trunk
changeset: 542219:6c2552d9ae13
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jan 23 23:56:13 2003 +0000

description:
Add the *context.? sources to SRCS.
Make getcontext _getcontext and add a getcontext weak alias.

diffstat:

 lib/libc/arch/vax/gen/Makefile.inc |  9 +++++++--
 lib/libc/arch/vax/sys/getcontext.S |  8 ++++++--
 2 files changed, 13 insertions(+), 4 deletions(-)

diffs (43 lines):

diff -r 598807a2c3ff -r 6c2552d9ae13 lib/libc/arch/vax/gen/Makefile.inc
--- a/lib/libc/arch/vax/gen/Makefile.inc        Thu Jan 23 23:52:38 2003 +0000
+++ b/lib/libc/arch/vax/gen/Makefile.inc        Thu Jan 23 23:56:13 2003 +0000
@@ -1,7 +1,12 @@
-#      $NetBSD: Makefile.inc,v 1.7 2002/10/26 06:51:32 thorpej Exp $
+#      $NetBSD: Makefile.inc,v 1.8 2003/01/23 23:56:13 matt Exp $
 
 SRCS+= byte_swap_2.S byte_swap_4.S bswap64.S \
-       fabs.S frexp.c infinity.c isinf.c isnan.c ldexp.S modf.S \
+       fabs.S frexp.c \
+       infinity.c isinf.c isnan.c \
+       ldexp.S \
+       makecontext.c modf.S \
+       resumecontext.c \
+       swapcontext.S \
        udiv.S urem.S \
        __setjmp14.S __sigsetjmp14.S _setjmp.S 
 
diff -r 598807a2c3ff -r 6c2552d9ae13 lib/libc/arch/vax/sys/getcontext.S
--- a/lib/libc/arch/vax/sys/getcontext.S        Thu Jan 23 23:52:38 2003 +0000
+++ b/lib/libc/arch/vax/sys/getcontext.S        Thu Jan 23 23:56:13 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getcontext.S,v 1.2 2003/01/20 00:18:06 matt Exp $      */
+/*     $NetBSD: getcontext.S,v 1.3 2003/01/23 23:56:13 matt Exp $      */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -38,10 +38,14 @@
 
 #include "SYS.h"
 
+#ifdef WEAK_ALIAS
+WEAK_ALIAS(getcontext, _getcontext)
+#endif
+
 /*
  * Can't use R4 or R5 since those needed by the phread_switch code.
  */
-ENTRY(getcontext, 0)
+ENTRY(_getcontext, 0)
        clrl    %r0                     /* assume success */
        chmk    $SYS_getcontext         /* getcontext(oucp) */
        jcc     1f



Home | Main Index | Thread Index | Old Index