]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
sh: Move atomic-machine to generic sysdep
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 11 Sep 2025 13:49:41 +0000 (10:49 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 4 Nov 2025 07:14:01 +0000 (04:14 -0300)
There is no Linux specific definitions.

Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
sysdeps/sh/atomic-machine.h [moved from sysdeps/unix/sysv/linux/sh/atomic-machine.h with 96% similarity]

similarity index 96%
rename from sysdeps/unix/sysv/linux/sh/atomic-machine.h
rename to sysdeps/sh/atomic-machine.h
index 95d6561bb902c4b4ca3ee726b1bfd098b1d9d018..b4ed894bdbda2e34a2920496281e69961a9df64c 100644 (file)
@@ -17,7 +17,6 @@
    <https://www.gnu.org/licenses/>.  */
 
 #define __HAVE_64B_ATOMICS 0
-#define USE_ATOMIC_COMPILER_BUILTINS 1
 
 /* XXX Is this actually correct?  */
 #define ATOMIC_EXCHANGE_USES_CAS 1