This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
__ASSEMBLER__ vs. ASSEMBLER
- From: Chris Zankel <zankel at tensilica dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Fri, 05 Aug 2005 16:56:01 -0700
- Subject: __ASSEMBLER__ vs. ASSEMBLER
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