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

Maciej W. Rozycki macro@orcam.me.uk
Tue Mar 17 21:14:05 GMT 2026


On Sat, 14 Mar 2026, 耀德 黃 wrote:

> >  I have now dug a bit deeper and realised that GCC used to have explicit 
> > -D__ASSEMBLER__ in the specs for `@assembler-with-cpp' before switching to 
> > the internal macro definition.  So I take my concern back, the change is 
> > good to go in.  Apologies for the confusion.
> 
> Actually, I've learned a lot too. I'd like to ask you again about where in gcc 
> `@assembler-with-cpp` is the description of `-D__ASSEMBLER__`? Could you 
> provide a website link so I can understand it better? Thank you.

 It's not clear to me what you refer to as the description you are after.  
Please elaborate.  The macro definition itself was removed from the spec 
with GCC commit f5896af2a6c8, shortly after the preprocessor switched to 
providing the definition internally.

  Maciej


More information about the Libc-alpha mailing list