Up to [cvs.NetBSD.org] / src / common / lib / libc / atomic
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Pull up following revision(s) (requested by rin in ticket #496): common/lib/libc/atomic/atomic_is_lock_free.c: revision 1.2 common/lib/libc/atomic/atomic_is_lock_free.c: revision 1.3 libc __atomic_is_lock_free: Fix clang build with symbol hacks. libc atomic: Make previous work a little less accidentally.
Pull up following revision(s) (requested by riastradh in ticket #275): common/lib/libc/arch/sparc/atomic/Makefile.inc: revision 1.24 common/lib/libc/arch/m68k/atomic/Makefile.inc: revision 1.16 common/lib/libc/arch/mips/atomic/Makefile.inc: revision 1.16 common/lib/libc/arch/hppa/atomic/Makefile.inc: revision 1.15 common/lib/libc/arch/vax/atomic/Makefile.inc: revision 1.9 common/lib/libc/atomic/atomic_is_lock_free.c: revision 1.1 common/lib/libc/arch/sh3/atomic/Makefile.inc: revision 1.9 libc: Define __atomic_is_lock_free. Limited to architectures where it is actually needed by gcc for any calls to stdatomic.h atomic_is_lock_free for now. We should also add it to other architectures too, along with lockful atomic r/m/w operations for sizes that can't be handled natively, but that's a lot more work. It is also necessary for -fno-inline-atomics but we're missing a lot of other symbols for that too, to be fixed. For now, this should enable the OpenSSL build to complete on these architectures again after I reverted a local change.
file atomic_is_lock_free.c was added on branch netbsd-10 on 2023-07-31 16:10:26 +0000
libc atomic: Make previous work a little less accidentally.
libc __atomic_is_lock_free: Fix clang build with symbol hacks.
libc: Define __atomic_is_lock_free. Limited to architectures where it is actually needed by gcc for any calls to stdatomic.h atomic_is_lock_free for now. We should also add it to other architectures too, along with lockful atomic r/m/w operations for sizes that can't be handled natively, but that's a lot more work. It is also necessary for -fno-inline-atomics but we're missing a lot of other symbols for that too, to be fixed. For now, this should enable the OpenSSL build to complete on these architectures again after I reverted a local change. XXX pullup-10