diff options
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index e78fe09db92..80fb31a7bbb 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -263,6 +263,9 @@ powerpc*-*-*) sparc*-*-*) cpu_type=sparc ;; +sh64-*-*) + cpu_type=sh + ;; esac tm_file=${cpu_type}/${cpu_type}.h @@ -2885,6 +2888,16 @@ sh-*-elf*) tm_file="${tm_file} sh/elf.h" float_format=sh ;; +sh64-*-elf*) + tmake_file="sh/t-sh sh/t-elf sh/t-sh64" + tm_file="${tm_file} sh/sh.h sh/elf.h sh/sh64.h" + float_format=sh + extra_headers="../../config/sh/shmedia.h ../../config/sh/ushmedia.h ../../config/sh/sshmedia.h" + # Not strictly necessary to check this, but a good idea anyway. + if test $machine = $target; then + target_requires_64bit_host_wide_int=yes + fi + ;; sh-*-rtemself*) tmake_file="sh/t-sh sh/t-elf t-rtems" tm_file="${tm_file} sh/elf.h sh/rtemself.h" |