]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
sparc: Remove 64 bit check on sparc32 wordsize (BZ 27574)
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 17 Jan 2024 13:13:06 +0000 (10:13 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 22 Jan 2024 12:34:50 +0000 (09:34 -0300)
The sparc32 is always 32 bits.

Checked on sparcv9-linux-gnu.

sysdeps/sparc/sparc32/bits/wordsize.h

index 2f66f10d7206731a2110721685d0ac6dc184ab14..4bbd2e63b49bb2e2f7879050e9b0f8ed62ebaa6e 100644 (file)
@@ -1,11 +1,6 @@
 /* Determine the wordsize from the preprocessor defines.  */
 
-#if defined __arch64__ || defined __sparcv9
-# define __WORDSIZE    64
-# define __WORDSIZE_TIME64_COMPAT32    1
-#else
-# define __WORDSIZE    32
-# define __WORDSIZE_TIME64_COMPAT32    0
-# define __WORDSIZE32_SIZE_ULONG       0
-# define __WORDSIZE32_PTRDIFF_LONG     0
-#endif
+#define __WORDSIZE     32
+#define __WORDSIZE_TIME64_COMPAT32     0
+#define __WORDSIZE32_SIZE_ULONG        0
+#define __WORDSIZE32_PTRDIFF_LONG      0