summaryrefslogtreecommitdiff
path: root/gcc/config/h8300/h8300.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-27 19:16:27 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-27 19:16:27 +0000
commitacff2768b3f55faa986f82517c2e9b996e4aa408 (patch)
treea67446cf5b576ae16aac0ce5b4210d02ea3e99ef /gcc/config/h8300/h8300.h
parentce9b6ce6b8dadfe222a2a2870dd259ff9f03d953 (diff)
downloadgcc-acff2768b3f55faa986f82517c2e9b996e4aa408.tar.gz
gcc/
* config.gcc: Add h8300-*-linux. * config/h8300/linux.h: New. * config/h8300/t-linux: New. * config/h8300/h8300.c (h8300_option_override): Normal mode is not supported for h8300-*-linux. (h8300_file_start): Target priority change. (get_shift_alg): Likewise. (h8300_shift_need_scratch_p): Likewise. * config/h8300/h8300.h (TARGET_CPU_CPP_BUILTINS): Likewise. * config/h8300/h8300.md (define_peephole2): Remove duplicate condition. libgcc/ * config.host: Add h8300-*-linux * config/h8300/t-linux: New file. * config/h8300/lib1funs.s: Change symbol prefix. * config/h8300/sfp-machine.h: 64bit double support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222479 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/h8300/h8300.h')
-rw-r--r--gcc/config/h8300/h8300.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h
index 2a47aa840c1..86fd7d1f338 100644
--- a/gcc/config/h8300/h8300.h
+++ b/gcc/config/h8300/h8300.h
@@ -39,29 +39,29 @@ extern const char * const *h8_reg_names;
#define TARGET_CPU_CPP_BUILTINS() \
do \
{ \
- if (TARGET_H8300H) \
+ if (TARGET_H8300SX) \
{ \
- builtin_define ("__H8300H__"); \
- builtin_assert ("cpu=h8300h"); \
- builtin_assert ("machine=h8300h"); \
+ builtin_define ("__H8300SX__"); \
if (TARGET_NORMAL_MODE) \
{ \
builtin_define ("__NORMAL_MODE__"); \
} \
} \
- else if (TARGET_H8300SX) \
+ else if (TARGET_H8300S) \
{ \
- builtin_define ("__H8300SX__"); \
+ builtin_define ("__H8300S__"); \
+ builtin_assert ("cpu=h8300s"); \
+ builtin_assert ("machine=h8300s"); \
if (TARGET_NORMAL_MODE) \
{ \
builtin_define ("__NORMAL_MODE__"); \
} \
} \
- else if (TARGET_H8300S) \
+ else if (TARGET_H8300H) \
{ \
- builtin_define ("__H8300S__"); \
- builtin_assert ("cpu=h8300s"); \
- builtin_assert ("machine=h8300s"); \
+ builtin_define ("__H8300H__"); \
+ builtin_assert ("cpu=h8300h"); \
+ builtin_assert ("machine=h8300h"); \
if (TARGET_NORMAL_MODE) \
{ \
builtin_define ("__NORMAL_MODE__"); \