This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch: [FRV] configury bits for uclinux, fr400, fr550.
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, aoliva at redhat dot com
- Date: Tue, 26 Jul 2005 17:22:03 -0400
- Subject: patch: [FRV] configury bits for uclinux, fr400, fr550.
Alex O missed this when contributing the frv*-*uclinux stuff. I believe
it was posted before we were appointed maintainers.
Committed to mainline.
* config.gcc (cpu_type): Add frv case.
(with_cpu): Add frv400-*-*linux* and frv550-*-*linux* cases.
(supported_defaults): Add fr550 case.
Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.558
diff -c -p -r1.558 config.gcc
*** config.gcc 22 Jul 2005 09:49:47 -0000 1.558
--- config.gcc 26 Jul 2005 21:19:03 -0000
*************** bfin*-*)
*** 255,260 ****
--- 255,262 ----
ep9312*-*-*)
cpu_type=arm
;;
+ frv*) cpu_type=frv
+ ;;
xscale-*-*)
cpu_type=arm
extra_headers="mmintrin.h"
*************** if test x$with_cpu = x ; then
*** 2379,2387 ****
alphaev5*-*-*)
with_cpu=ev5
;;
! frv-*-*linux*)
with_cpu=fr400
;;
sparc*-*-*)
with_cpu="`echo ${target} | sed 's/-.*$//'`"
if [ x$with_cpu = xsparc64 ]; then
--- 2381,2392 ----
alphaev5*-*-*)
with_cpu=ev5
;;
! 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
*************** case "${target}" in
*** 2514,2519 ****
--- 2519,2525 ----
supported_defaults=cpu
case "$with_cpu" in
fr400) ;;
+ fr550) ;;
*)
echo "Unknown cpu used in --with-cpu=$with_cpu" 1>&2
exit 1