Commit 99c5227a by Hans-Peter Nilsson

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
parent 4081d704
...@@ -265,6 +265,9 @@ arm*-*-*) ...@@ -265,6 +265,9 @@ arm*-*-*)
bfin*-*) bfin*-*)
cpu_type=bfin cpu_type=bfin
;; ;;
crisv32-*)
cpu_type=cris
;;
ep9312*-*-*) ep9312*-*-*)
cpu_type=arm cpu_type=arm
;; ;;
...@@ -844,17 +847,32 @@ cris-*-aout) ...@@ -844,17 +847,32 @@ cris-*-aout)
tmake_file="cris/t-cris cris/t-aout" tmake_file="cris/t-cris cris/t-aout"
extra_options="${extra_options} cris/aout.opt" 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) cris-*-elf | cris-*-none)
tm_file="dbxelf.h elfos.h ${tm_file}" tm_file="dbxelf.h elfos.h ${tm_file}"
tmake_file="cris/t-cris cris/t-elfmulti" tmake_file="cris/t-cris cris/t-elfmulti"
gas=yes gas=yes
extra_options="${extra_options} cris/elf.opt" 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" 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 # We need to avoid using t-linux, so override default tmake_file
tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux" tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux"
extra_options="${extra_options} cris/linux.opt" extra_options="${extra_options} cris/linux.opt"
case $target in
cris-*-*)
target_cpu_default=10
;;
crisv32-*-*)
target_cpu_default=32
;;
esac
;; ;;
crx-*-elf) crx-*-elf)
tm_file="elfos.h ${tm_file}" tm_file="elfos.h ${tm_file}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment