Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libc/arch/m68k/atomic Add missing __sunc_* ops fo...
details: https://anonhg.NetBSD.org/src/rev/43b7a1da555d
branches: trunk
changeset: 326922:43b7a1da555d
user: martin <martin%NetBSD.org@localhost>
date: Sat Feb 22 14:51:34 2014 +0000
description:
Add missing __sunc_* ops for sun2
diffstat:
common/lib/libc/arch/m68k/atomic/Makefile.inc | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r e62992696aaa -r 43b7a1da555d common/lib/libc/arch/m68k/atomic/Makefile.inc
--- a/common/lib/libc/arch/m68k/atomic/Makefile.inc Sat Feb 22 13:11:42 2014 +0000
+++ b/common/lib/libc/arch/m68k/atomic/Makefile.inc Sat Feb 22 14:51:34 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.12 2014/02/20 20:39:01 martin Exp $
+# $NetBSD: Makefile.inc,v 1.13 2014/02/22 14:51:34 martin Exp $
#
# Note: The atomic operations here in these assembly files are atomic
@@ -24,6 +24,17 @@
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_nand_32_cas.c atomic_nand_16_cas.c atomic_nand_8_cas.c \
+ atomic_xor_32_cas.c atomic_xor_16_cas.c atomic_xor_8_cas.c \
+ atomic_and_32_cas.c atomic_and_16_cas.c atomic_and_8_cas.c \
+ atomic_or_32_cas.c atomic_or_16_cas.c atomic_or_8_cas.c \
+ atomic_cas_32_cas.c atomic_cas_16_cas.c atomic_cas_8_cas.c \
+ atomic_swap_32_cas.c atomic_swap_16_cas.c atomic_swap_8_cas.c
+.endif
+
.endif
.endif
Home |
Main Index |
Thread Index |
Old Index