diff options
author | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2007-12-15 21:35:32 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2007-12-15 21:35:32 +0000 |
commit | 99c5227a6402ad3a9e88360758aa2a3b1352f6fc (patch) | |
tree | 93afbd93fe7aefdb3999d7a461a0afeae146ba62 /gcc/config.gcc | |
parent | 4081d704757b1ea2729261b7cc9aa03c311708b4 (diff) | |
download | gcc-99c5227a6402ad3a9e88360758aa2a3b1352f6fc.zip gcc-99c5227a6402ad3a9e88360758aa2a3b1352f6fc.tar.gz gcc-99c5227a6402ad3a9e88360758aa2a3b1352f6fc.tar.bz2 |
config.gcc: Make crisv32-* have cpu_type cris.
* config.gcc: Make crisv32-* have cpu_type cris. Handle
crisv32-*-elf and crisv32-*-none like cris-*-elf and cris-*-none
but without multilibs and with target_cpu_default=32.
From-SVN: r130965
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 0fc329c..edb0c8e 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -265,6 +265,9 @@ arm*-*-*) bfin*-*) cpu_type=bfin ;; +crisv32-*) + cpu_type=cris + ;; ep9312*-*-*) cpu_type=arm ;; @@ -844,17 +847,32 @@ cris-*-aout) tmake_file="cris/t-cris cris/t-aout" extra_options="${extra_options} cris/aout.opt" ;; +crisv32-*-elf | crisv32-*-none) + tm_file="dbxelf.h elfos.h ${tm_file}" + tmake_file="cris/t-cris" + target_cpu_default=32 + gas=yes + extra_options="${extra_options} cris/elf.opt" + ;; cris-*-elf | cris-*-none) tm_file="dbxelf.h elfos.h ${tm_file}" tmake_file="cris/t-cris cris/t-elfmulti" gas=yes extra_options="${extra_options} cris/elf.opt" ;; -cris-*-linux*) +crisv32-*-linux* | cris-*-linux*) tm_file="dbxelf.h elfos.h svr4.h ${tm_file} linux.h cris/linux.h" # We need to avoid using t-linux, so override default tmake_file tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux" extra_options="${extra_options} cris/linux.opt" + case $target in + cris-*-*) + target_cpu_default=10 + ;; + crisv32-*-*) + target_cpu_default=32 + ;; + esac ;; crx-*-elf) tm_file="elfos.h ${tm_file}" |