]> git.ipfire.org Git - thirdparty/glibc.git/commit
Define __HAVE_64B_ATOMICS from compiler support
authorWilco Dijkstra <Wilco.Dijkstra@arm.com>
Thu, 11 Sep 2025 13:49:47 +0000 (10:49 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 4 Nov 2025 07:14:01 +0000 (04:14 -0300)
commit53807741fb44edb8e7c094cb5e7d4ff4e92a6ec1
tree072672e7504c2f92bf9659b1e745a66ad485a113
parent95a0ad1ea1e1b4fc66c1006c1f7231be1de04453
Define __HAVE_64B_ATOMICS from compiler support

Now that atomic builtins are used by default, we can rely on the
compiler to define when to use 64-bit atomic operations.

It allows the use of 64-bit atomic operations on some 32-bit ABIs where
they were not previously enabled due to missing pre-processor handling:
hppa, mips64n32, s390, and sparcv9.

Co-authored-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Reviewed-by: Uros Bizjak <ubizjak@gmail.com>
Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
20 files changed:
config.h.in
configure
configure.ac
sysdeps/aarch64/atomic-machine.h
sysdeps/alpha/atomic-machine.h
sysdeps/arc/atomic-machine.h
sysdeps/arm/atomic-machine.h
sysdeps/csky/atomic-machine.h
sysdeps/hppa/atomic-machine.h
sysdeps/loongarch/atomic-machine.h
sysdeps/m68k/atomic-machine.h
sysdeps/microblaze/atomic-machine.h
sysdeps/mips/atomic-machine.h
sysdeps/or1k/atomic-machine.h
sysdeps/powerpc/atomic-machine.h
sysdeps/riscv/atomic-machine.h
sysdeps/s390/atomic-machine.h
sysdeps/sh/atomic-machine.h
sysdeps/sparc/atomic-machine.h
sysdeps/x86/atomic-machine.h