[Question] Will switching Linux UAPI headers from __ASSEMBLY__ to __ASSEMBLER__ affect glibc?

Andreas Schwab schwab@suse.de
Tue Mar 3 14:54:20 GMT 2026


On Mär 03 2026, Nick Huang wrote:

> I would like to ask directly:
>
>   Will switching Linux UAPI headers from __ASSEMBLY__ to __ASSEMBLER__
>   affect glibc in any way?

Since the compiler will define __ASSEMBLER__ automatically when
preprocessing assembler-with-cpp files, there is no need to change
anything on the glibc side.  The places that define __ASSEMBLY__ for
that purpose will just become redundant.

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