OSDN Git Service

2011-09-15 James Greenhalgh <james.greenhalgh@arm.com>
authoribolton <ibolton@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Sep 2011 14:41:46 +0000 (14:41 +0000)
committeribolton <ibolton@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Sep 2011 14:41:46 +0000 (14:41 +0000)
* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): New builtin macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178884 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/arm/arm.h

index 33fbaee..4531283 100644 (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
index 208ee51..a76988e 100644 (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__");                     \