arm.h (TARGET_CPU_CPP_BUILTINS): New builtin macro.

2011-09-15  James Greenhalgh  <james.greenhalgh@arm.com>

	* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): New builtin macro.

From-SVN: r178884
This commit is contained in:
James Greenhalgh 2011-09-15 14:41:46 +00:00 committed by Ian Bolton
parent 5a8c97d802
commit 5d248b41e3
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2011-09-15 James Greenhalgh <james.greenhalgh@arm.com>
* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): New builtin macro.
2011-09-15 Jason Merrill <jason@redhat.com>
PR c++/50361

View File

@ -47,6 +47,8 @@ extern char arm_arch_name[];
{ \
if (TARGET_DSP_MULTIPLY) \
builtin_define ("__ARM_FEATURE_DSP"); \
if (unaligned_access) \
builtin_define ("__ARM_FEATURE_UNALIGNED"); \
/* Define __arm__ even when in thumb mode, for \
consistency with armcc. */ \
builtin_define ("__arm__"); \