Module Name: src Committed By: skrll Date: Sun Oct 29 08:04:19 UTC 2023
Modified Files: src/common/lib/libc/arch/hppa/atomic: Makefile.inc Log Message: Define __HAVE_ATOMIC_CAS_64_UP and provide __sync_val_compare_and_swap_8 The new santizer code in gcc12 needs this. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/common/lib/libc/arch/hppa/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/hppa/atomic/Makefile.inc diff -u src/common/lib/libc/arch/hppa/atomic/Makefile.inc:1.15 src/common/lib/libc/arch/hppa/atomic/Makefile.inc:1.16 --- src/common/lib/libc/arch/hppa/atomic/Makefile.inc:1.15 Thu Mar 30 15:03:35 2023 +++ src/common/lib/libc/arch/hppa/atomic/Makefile.inc Sun Oct 29 08:04:18 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.15 2023/03/30 15:03:35 riastradh Exp $ +# $NetBSD: Makefile.inc,v 1.16 2023/10/29 08:04:18 skrll Exp $ .if defined(LIB) @@ -18,6 +18,7 @@ SRCS+= atomic_add_32_cas.c atomic_add_32 . if (${LIB} == "c" || ${LIB} == "pthread") SRCS+= atomic_init_testset.c +CPPFLAGS+= -D__HAVE_ATOMIC_CAS_64_UP SRCS+= atomic_cas_up.S CPPFLAGS+= -D__HAVE_ASM_ATOMIC_CAS_UP CPPFLAGS+= -D__HAVE_ASM_ATOMIC_CAS_16_UP