| @@ -84,27 +84,32 @@ extern char arm_arch_name[]; | | | @@ -84,27 +84,32 @@ extern char arm_arch_name[]; |
84 | builtin_define ("__THUMB_INTERWORK__"); \ | | 84 | builtin_define ("__THUMB_INTERWORK__"); \ |
85 | \ | | 85 | \ |
86 | builtin_assert ("cpu=arm"); \ | | 86 | builtin_assert ("cpu=arm"); \ |
87 | builtin_assert ("machine=arm"); \ | | 87 | builtin_assert ("machine=arm"); \ |
88 | \ | | 88 | \ |
89 | builtin_define (arm_arch_name); \ | | 89 | builtin_define (arm_arch_name); \ |
90 | if (arm_arch_cirrus) \ | | 90 | if (arm_arch_cirrus) \ |
91 | builtin_define ("__MAVERICK__"); \ | | 91 | builtin_define ("__MAVERICK__"); \ |
92 | if (arm_arch_xscale) \ | | 92 | if (arm_arch_xscale) \ |
93 | builtin_define ("__XSCALE__"); \ | | 93 | builtin_define ("__XSCALE__"); \ |
94 | if (arm_arch_iwmmxt) \ | | 94 | if (arm_arch_iwmmxt) \ |
95 | builtin_define ("__IWMMXT__"); \ | | 95 | builtin_define ("__IWMMXT__"); \ |
96 | if (TARGET_AAPCS_BASED) \ | | 96 | if (TARGET_AAPCS_BASED) \ |
97 | builtin_define ("__ARM_EABI__"); \ | | 97 | { \ |
| | | 98 | builtin_define ("__ARM_EABI__"); \ |
| | | 99 | builtin_define ("__ARM_PCS"); \ |
| | | 100 | if (TARGET_HARD_FLOAT && TARGET_VFP) \ |
| | | 101 | builtin_define ("__ARM_PCS_VFP"); \ |
| | | 102 | } \ |
98 | } while (0) | | 103 | } while (0) |
99 | | | 104 | |
100 | /* The various ARM cores. */ | | 105 | /* The various ARM cores. */ |
101 | enum processor_type | | 106 | enum processor_type |
102 | { | | 107 | { |
103 | #define ARM_CORE(NAME, IDENT, ARCH, FLAGS, COSTS) \ | | 108 | #define ARM_CORE(NAME, IDENT, ARCH, FLAGS, COSTS) \ |
104 | IDENT, | | 109 | IDENT, |
105 | #include "arm-cores.def" | | 110 | #include "arm-cores.def" |
106 | #undef ARM_CORE | | 111 | #undef ARM_CORE |
107 | /* Used to indicate that no processor has been specified. */ | | 112 | /* Used to indicate that no processor has been specified. */ |
108 | arm_none | | 113 | arm_none |
109 | }; | | 114 | }; |
110 | | | 115 | |