Module Name:    src
Committed By:   martin
Date:           Sat Feb 22 08:53:33 UTC 2014

Modified Files:
        src/common/lib/libc/arch/vax/atomic: Makefile.inc

Log Message:
Add the missing __sync_* ops to libc


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/common/lib/libc/arch/vax/atomic/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/common/lib/libc/arch/vax/atomic/Makefile.inc
diff -u src/common/lib/libc/arch/vax/atomic/Makefile.inc:1.5 src/common/lib/libc/arch/vax/atomic/Makefile.inc:1.6
--- src/common/lib/libc/arch/vax/atomic/Makefile.inc:1.5	Sun Jan  4 17:54:29 2009
+++ src/common/lib/libc/arch/vax/atomic/Makefile.inc	Sat Feb 22 08:53:33 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.5 2009/01/04 17:54:29 pooka Exp $
+#	$NetBSD: Makefile.inc,v 1.6 2014/02/22 08:53:33 martin Exp $
 
 .if defined(LIB) && (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" \
 	|| ${LIB} == "rump")
@@ -8,6 +8,17 @@ SRCS+=	atomic_add_32_cas.c atomic_add_32
 	atomic_inc_32_cas.c atomic_inc_32_nv_cas.c atomic_or_32_cas.c \
 	atomic_or_32_nv_cas.c atomic_swap_32_cas.c membar_ops_nop.c
 
+.if ${LIB} == "c"
+SRCS+=	atomic_add_16_cas.c atomic_add_8_cas.c	\
+	atomic_sub_32_cas.c atomic_sub_16_cas.c atomic_sub_8_cas.c	\
+	atomic_or_16_cas.c atomic_or_8_cas.c	\
+	atomic_xor_32_cas.c atomic_xor_16_cas.c atomic_xor_8_cas.c	\
+	atomic_and_16_cas.c atomic_and_8_cas.c	\
+	atomic_nand_32_cas.c atomic_nand_16_cas.c atomic_nand_8_cas.c	\
+	atomic_cas_32_cas.c atomic_cas_16_cas.c atomic_cas_8_cas.c	\
+	atomic_swap_16_cas.c atomic_swap_8_cas.c
+.endif
+
 .endif
 
 .if defined(LIB) && (${LIB} == "c" || ${LIB} == "pthread")

Reply via email to