diff options
| author | martin <martin@NetBSD.org> | 2014-02-22 08:53:33 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2014-02-22 08:53:33 +0000 |
| commit | cb68ea18e2bc5848e44ba5caa375ffc846f8d320 (patch) | |
| tree | 215fa8e104a7d8a01001db3ac18da7138a4576f6 /common | |
| parent | 5d28249ec13cf9590043ee5e4a80f3dd345aef8f (diff) | |
Add the missing __sync_* ops to libc
Diffstat (limited to 'common')
| -rw-r--r-- | common/lib/libc/arch/vax/atomic/Makefile.inc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/common/lib/libc/arch/vax/atomic/Makefile.inc b/common/lib/libc/arch/vax/atomic/Makefile.inc index 1bafd20d66a..8b22f26084d 100644 --- a/common/lib/libc/arch/vax/atomic/Makefile.inc +++ b/common/lib/libc/arch/vax/atomic/Makefile.inc @@ -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_nv_cas.c atomic_and_32_cas.c \ 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") |
