__ASSEMBLER__ vs. ASSEMBLER

Chris Zankel zankel@tensilica.com
Fri Aug 5 23:57:00 GMT 2005


Hi,

I am working on the Xtensa port of glibc and ran into a minor problem.

It seems that most architecture use __ASSEMBLER__ in conditional 
sections (for example sysdep.h) but Makerule defines ASSEMBLER (without 
the underscores):

S-CPPFLAGS = -DASSEMBLER $(asm-CPPFLAGS)

Should the line in Makerule not be like this?

S-CPPFLAGS = -D__ASSEMBLER__ $(asm-CPPFLAGS)

Thanks,
~Chris



More information about the Libc-alpha mailing list