diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-01-17 10:13:06 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-01-22 09:34:50 -0300 |
commit | dd57f5e7b652772499cb220d78157c1038d24f06 (patch) | |
tree | c386ae9c3e4de95489e2075d1224e352082280c6 /sysdeps/sparc | |
parent | 3bffe5aa2dad3492fd68230ed28387cf9d453cea (diff) | |
download | glibc-dd57f5e7b652772499cb220d78157c1038d24f06.zip glibc-dd57f5e7b652772499cb220d78157c1038d24f06.tar.gz glibc-dd57f5e7b652772499cb220d78157c1038d24f06.tar.bz2 |
sparc: Remove 64 bit check on sparc32 wordsize (BZ 27574)
The sparc32 is always 32 bits.
Checked on sparcv9-linux-gnu.
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r-- | sysdeps/sparc/sparc32/bits/wordsize.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/sysdeps/sparc/sparc32/bits/wordsize.h b/sysdeps/sparc/sparc32/bits/wordsize.h index 2f66f10..4bbd2e6 100644 --- a/sysdeps/sparc/sparc32/bits/wordsize.h +++ b/sysdeps/sparc/sparc32/bits/wordsize.h @@ -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 |