diff options
author | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-03 11:05:58 +0000 |
---|---|---|
committer | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-03 11:05:58 +0000 |
commit | 531e8454388a41f77bc108532e14ea9251bcef6d (patch) | |
tree | 5a45488a1298c01d328d9c7f693a33a98f5049c1 /gcc/config | |
parent | 9f73332770e543261e0460a75202e0b9ef9395bb (diff) |
Handle TARGET_CPU_iwmmxt.
Use #error to generate the message if TARGET_DEFAULT is not recognised.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71021 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/arm/arm.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index dc649ccfd1d..f3015b3e567 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -173,8 +173,11 @@ extern GTY(()) rtx aof_pic_label; #undef TARGET_DEFAULT #define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_APCS_FRAME) #endif /* TARGET_CPU_DEFAULT */ +#if TARGET_CPU_DEFAULT == TARGET_CPU_iwmmxt +#define CPP_ARCH_DEFAULT_SPEC "-D__ARM_ARCH_5TE__ -D__XSCALE__ -D__IWMMXT__" #else -Unrecognized value in TARGET_CPU_DEFAULT. +#error Unrecognized value in TARGET_CPU_DEFAULT. +#endif #endif #endif #endif |