[PATCH 2/4] sparc: Remove 64 bit check on sparc32 wordsize (BZ 27574)
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Mon Jan 22 13:27:15 GMT 2024
On 22/01/24 10:14, Andreas Schwab wrote:
> On Jan 18 2024, Adhemerval Zanella wrote:
>
>> The sparc32 is always 32 bits.
>
> I think the point is that you can share the header with gcc -m64 (when
> the default is -m32), ie. a 32-bit system on a 64-bit capable kernel.
>
But the sysdeps/sparc/sparc32/bits/wordsize.h header is not placed on
the sparc generic path (sysdeps/sparc/), so it is selected only for
32 bits build.
Maybe a further cleanup would to move ./sysdeps/sparc/sparc64/bits/wordsize.h
and remove the __sparcv9 condition for __WORDSIZE equal to 64.
More information about the Libc-alpha
mailing list