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
This commit is contained in:
Aldy Hernandez 2005-07-26 21:22:44 +00:00 committed by Aldy Hernandez
parent 31521cd4e2
commit faf9ab985c
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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>
PR 22591

View File

@ -255,6 +255,8 @@ bfin*-*)
ep9312*-*-*)
cpu_type=arm
;;
frv*) cpu_type=frv
;;
xscale-*-*)
cpu_type=arm
extra_headers="mmintrin.h"
@ -2379,9 +2381,12 @@ if test x$with_cpu = x ; then
alphaev5*-*-*)
with_cpu=ev5
;;
frv-*-*linux*)
frv-*-*linux* | frv400-*-*linux*)
with_cpu=fr400
;;
frv550-*-*linux*)
with_cpu=fr550
;;
sparc*-*-*)
with_cpu="`echo ${target} | sed 's/-.*$//'`"
if [ x$with_cpu = xsparc64 ]; then
@ -2514,6 +2519,7 @@ case "${target}" in
supported_defaults=cpu
case "$with_cpu" in
fr400) ;;
fr550) ;;
*)
echo "Unknown cpu used in --with-cpu=$with_cpu" 1>&2
exit 1