[PATCH 2/4] sparc: Remove 64 bit check on sparc32 wordsize (BZ 27574)

Andreas Schwab schwab@suse.de
Mon Jan 22 13:56:29 GMT 2024


On Jan 22 2024, Adhemerval Zanella Netto wrote:

> 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.

It's the same as under sysdeps/powerpc.  The installed header is then
generic.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Libc-alpha mailing list