From 4adf3e34b2ece6f4caac9d42dd4f636b8fc342b3 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Fri, 25 Jun 2004 13:48:51 +0000 Subject: [PATCH] * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __ARM_EABI__. From-SVN: r83651 --- gcc/ChangeLog | 4 ++++ gcc/config/arm/arm.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 343d785ed6b..e1bdcb7962b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-06-25 Paul Brook + + * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __ARM_EABI__. + 2004-06-25 Richard Earnshaw * arm.c (arm_arch4t): New variable. diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index d6d07e67219..4b4ddedf483 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -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. */ -- 2.30.2