Module Name: src
Committed By: matt
Date: Fri Jan 25 08:31:43 UTC 2013
Modified Files:
src/external/gpl3/gcc/dist/gcc/config/arm: arm.h
Log Message:
Make GCC define __ARM_PCS and __ARM_PCS_VFP as defined by the ARM C Language
Extentions (clang already defines them):
__ARM_PCS is defined to 1 if the default procedure calling standard for
the translation unit conforms to the "base PCS" defined in [AAPCS].
__ARM_PCS_VFP is defined to 1 if the default is to pass floating-point
parameters in hardware floating-point registers using the "VFP variant PCS"
defined in [AAPCS].
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/dist/gcc/config/arm/arm.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/dist/gcc/config/arm/arm.h
diff -u src/external/gpl3/gcc/dist/gcc/config/arm/arm.h:1.2 src/external/gpl3/gcc/dist/gcc/config/arm/arm.h:1.3
--- src/external/gpl3/gcc/dist/gcc/config/arm/arm.h:1.2 Fri Jul 1 01:23:23 2011
+++ src/external/gpl3/gcc/dist/gcc/config/arm/arm.h Fri Jan 25 08:31:43 2013
@@ -94,7 +94,12 @@ extern char arm_arch_name[];
if (arm_arch_iwmmxt) \
builtin_define ("__IWMMXT__"); \
if (TARGET_AAPCS_BASED) \
- builtin_define ("__ARM_EABI__"); \
+ { \
+ builtin_define ("__ARM_EABI__"); \
+ builtin_define ("__ARM_PCS"); \
+ if (TARGET_HARD_FLOAT && TARGET_VFP) \
+ builtin_define ("__ARM_PCS_VFP"); \
+ } \
} while (0)
/* The various ARM cores. */