summaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc21
1 files changed, 20 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index b8b118f778d..e090d8866ac 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -420,7 +420,7 @@ case ${target} in
*-*-linux*libc1* | *-*-linux*aout*)
# Avoid the generic linux case.
;;
-*-*-linux*)
+*-*-linux* | frv-*-*linux*)
# Must come before *-*-gnu* (because of *-*-linux-gnu* systems).
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gas=yes
@@ -718,6 +718,11 @@ frv-*-elf)
tmake_file=frv/t-frv
use_fixproto=yes
;;
+frv-*-*linux*)
+ tm_file="dbxelf.h elfos.h svr4.h ${tm_file} \
+ linux.h frv/linux.h frv/frv-abi.h"
+ tmake_file="t-slibgcc-elf-ver t-linux frv/t-frv frv/t-linux"
+ ;;
h8300-*-rtems*)
tmake_file="h8300/t-h8300 t-rtems"
tm_file="h8300/h8300.h dbxcoff.h h8300/coff.h h8300/rtems.h rtems.h"
@@ -2159,6 +2164,9 @@ if test x$with_cpu = x ; then
alphaev5*-*-*)
with_cpu=ev5
;;
+ frv-*-*linux*)
+ with_cpu=fr400
+ ;;
sparc*-*-*)
with_cpu="`echo ${target} | sed 's/-.*$//'`"
if [ x$with_cpu = xsparc64 ]; then
@@ -2269,6 +2277,17 @@ fi
fi
;;
+ fr*-*-*linux*)
+ supported_defaults=cpu
+ case "$with_cpu" in
+ fr400) ;;
+ *)
+ echo "Unknown cpu used in --with-cpu=$with_cpu" 1>&2
+ exit 1
+ ;;
+ esac
+ ;;
+
hppa*-*-* | parisc*-*-*)
supported_defaults="arch schedule"