* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __ARM_EABI__.
authorPaul Brook <paul@codesourcery.com>
Fri, 25 Jun 2004 13:48:51 +0000 (13:48 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Fri, 25 Jun 2004 13:48:51 +0000 (13:48 +0000)
From-SVN: r83651

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

index 343d785ed6b5d00712c2eb3e1b3f9b1730babc3f..e1bdcb7962b1f53c54f16097e530760bddc6ea80 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-25  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __ARM_EABI__.
+
 2004-06-25  Richard Earnshaw  <rearnsha@arm.com>
 
        * arm.c (arm_arch4t): New variable.
index d6d07e6721940f2007deab36cf33caca320db503..4b4ddedf483fb54aa5d5747fd8b8ad622291b006 100644 (file)
@@ -76,6 +76,8 @@ extern char arm_arch_name[];
          builtin_define ("__XSCALE__");                \
        if (arm_arch_iwmmxt)                            \
          builtin_define ("__IWMMXT__");                \
+       if (TARGET_AAPCS_BASED)                         \
+         builtin_define ("__ARM_EABI__");              \
     } while (0)
 
 /* The various ARM cores.  */