| @@ -67,27 +67,32 @@ extern char arm_arch_name[]; | | | @@ -67,27 +67,32 @@ extern char arm_arch_name[]; |
67 | builtin_define ("__THUMB_INTERWORK__"); \ | | 67 | builtin_define ("__THUMB_INTERWORK__"); \ |
68 | \ | | 68 | \ |
69 | builtin_assert ("cpu=arm"); \ | | 69 | builtin_assert ("cpu=arm"); \ |
70 | builtin_assert ("machine=arm"); \ | | 70 | builtin_assert ("machine=arm"); \ |
71 | \ | | 71 | \ |
72 | builtin_define (arm_arch_name); \ | | 72 | builtin_define (arm_arch_name); \ |
73 | if (arm_arch_cirrus) \ | | 73 | if (arm_arch_cirrus) \ |
74 | builtin_define ("__MAVERICK__"); \ | | 74 | builtin_define ("__MAVERICK__"); \ |
75 | if (arm_arch_xscale) \ | | 75 | if (arm_arch_xscale) \ |
76 | builtin_define ("__XSCALE__"); \ | | 76 | builtin_define ("__XSCALE__"); \ |
77 | if (arm_arch_iwmmxt) \ | | 77 | if (arm_arch_iwmmxt) \ |
78 | builtin_define ("__IWMMXT__"); \ | | 78 | builtin_define ("__IWMMXT__"); \ |
79 | if (TARGET_AAPCS_BASED) \ | | 79 | if (TARGET_AAPCS_BASED) \ |
80 | builtin_define ("__ARM_EABI__"); \ | | 80 | { \ |
| | | 81 | builtin_define ("__ARM_EABI__"); \ |
| | | 82 | builtin_define ("__ARM_PCS"); \ |
| | | 83 | if (TARGET_HARD_FLOAT && TARGET_VFP) \ |
| | | 84 | builtin_define ("__ARM_PCS_VFP"); \ |
| | | 85 | } \ |
81 | } while (0) | | 86 | } while (0) |
82 | | | 87 | |
83 | /* The various ARM cores. */ | | 88 | /* The various ARM cores. */ |
84 | enum processor_type | | 89 | enum processor_type |
85 | { | | 90 | { |
86 | #define ARM_CORE(NAME, IDENT, ARCH, FLAGS, COSTS) \ | | 91 | #define ARM_CORE(NAME, IDENT, ARCH, FLAGS, COSTS) \ |
87 | IDENT, | | 92 | IDENT, |
88 | #include "arm-cores.def" | | 93 | #include "arm-cores.def" |
89 | #undef ARM_CORE | | 94 | #undef ARM_CORE |
90 | /* Used to indicate that no processor has been specified. */ | | 95 | /* Used to indicate that no processor has been specified. */ |
91 | arm_none | | 96 | arm_none |
92 | }; | | 97 | }; |
93 | | | 98 | |