Commit faf9ab98 by Aldy Hernandez Committed by Aldy Hernandez

config.gcc (cpu_type): Add frv case.

	* config.gcc (cpu_type): Add frv case.
	(with_cpu): Add frv400-*-*linux* and frv550-*-*linux* cases.
	(supported_defaults): Add fr550 case.

From-SVN: r102400
parent 31521cd4
2005-07-26 Aldy Hernandez <aldyh@redhat.com>
* config.gcc (cpu_type): Add frv case.
(with_cpu): Add frv400-*-*linux* and frv550-*-*linux* cases.
(supported_defaults): Add fr550 case.
2005-07-26 Diego Novillo <dnovillo@redhat.com> 2005-07-26 Diego Novillo <dnovillo@redhat.com>
PR 22591 PR 22591
......
...@@ -255,6 +255,8 @@ bfin*-*) ...@@ -255,6 +255,8 @@ bfin*-*)
ep9312*-*-*) ep9312*-*-*)
cpu_type=arm cpu_type=arm
;; ;;
frv*) cpu_type=frv
;;
xscale-*-*) xscale-*-*)
cpu_type=arm cpu_type=arm
extra_headers="mmintrin.h" extra_headers="mmintrin.h"
...@@ -2379,9 +2381,12 @@ if test x$with_cpu = x ; then ...@@ -2379,9 +2381,12 @@ if test x$with_cpu = x ; then
alphaev5*-*-*) alphaev5*-*-*)
with_cpu=ev5 with_cpu=ev5
;; ;;
frv-*-*linux*) frv-*-*linux* | frv400-*-*linux*)
with_cpu=fr400 with_cpu=fr400
;; ;;
frv550-*-*linux*)
with_cpu=fr550
;;
sparc*-*-*) sparc*-*-*)
with_cpu="`echo ${target} | sed 's/-.*$//'`" with_cpu="`echo ${target} | sed 's/-.*$//'`"
if [ x$with_cpu = xsparc64 ]; then if [ x$with_cpu = xsparc64 ]; then
...@@ -2514,6 +2519,7 @@ case "${target}" in ...@@ -2514,6 +2519,7 @@ case "${target}" in
supported_defaults=cpu supported_defaults=cpu
case "$with_cpu" in case "$with_cpu" in
fr400) ;; fr400) ;;
fr550) ;;
*) *)
echo "Unknown cpu used in --with-cpu=$with_cpu" 1>&2 echo "Unknown cpu used in --with-cpu=$with_cpu" 1>&2
exit 1 exit 1
......
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