Add builtin_define of __xtensa__ (for Xtensa, of course)

Bob Wilson bwilson@tensilica.com
Thu Feb 26 20:42:00 GMT 2004


It seems that most GCC ports provide a built-in definition of the processor name 
in lowercase.  The Xtensa port has been defining "__XTENSA__" in uppercase only. 
   This patch adds a lowercase "__xtensa__" built-in definition.  Committed as 
obvious on the mainline and 3.4 branch.

2004-02-26  Bob Wilson  <bob.wilson@acm.org>

	* config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __xtensa__.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-_xtensa_.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040226/c8afe1a4/attachment.ksh>


More information about the Gcc-patches mailing list