aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-08-27 20:01:17 +0000
committerNick Clifton <nickc@gcc.gnu.org>2002-08-27 20:01:17 +0000
commitb43783196fe7e18c741444ccbb94ad6c7920814b (patch)
treed148f5263f503200520b6fcaef7e6203042e25a8 /gcc/config.gcc
parent361d6b42857605b1177f501bc9ad571371159aed (diff)
downloadgcc-b43783196fe7e18c741444ccbb94ad6c7920814b.zip
gcc-b43783196fe7e18c741444ccbb94ad6c7920814b.tar.gz
gcc-b43783196fe7e18c741444ccbb94ad6c7920814b.tar.bz2
config.gcc: Add v850e-*-* target.
2002-08-27 Nick Clifton <nickc@redhat.com> Catherine Moore <clm@redhat.com> Jim Wilson <wilson@cygnus.com> * config.gcc: Add v850e-*-* target. Add --with-cpu= support for v850. * config/v850/lib1funcs.asm: Add v850e callt functions. * config/v850/v850.h: Add support for v850e target. * config/v850/v850.c: Add functions to support v850e target. * config/v850/v850-protos.h: Add prototypes for new functions in v850.c. * config/v850/v850.md: Add patterns for v850e instructions. * doc/invoke.texi: Document new v850e command line switches. Co-Authored-By: Catherine Moore <clm@redhat.com> Co-Authored-By: Jim Wilson <wilson@cygnus.com> From-SVN: r56612
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc31
1 files changed, 31 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 8432cf5..145d2cf 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2643,6 +2643,21 @@ v850-*-rtems*)
c_target_objs="v850-c.o"
cxx_target_objs="v850-c.o"
;;
+v850e-*-*)
+ target_cpu_default="TARGET_CPU_v850e"
+ tm_file="dbxelf.h elfos.h svr4.h v850/v850.h"
+ tm_p_file=v850/v850-protos.h
+ tmake_file=v850/t-v850
+ md_file=v850/v850.md
+ out_file=v850/v850.c
+ if test x$stabs = xyes
+ then
+ tm_file="${tm_file} dbx.h"
+ fi
+ use_collect2=no
+ c_target_objs="v850-c.o"
+ cxx_target_objs="v850-c.o"
+ ;;
v850-*-*)
target_cpu_default="TARGET_CPU_generic"
tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
@@ -2952,6 +2967,22 @@ sparc*-*-*)
;;
esac
;;
+v850*-*-*)
+ case "x$with_cpu" in
+ x)
+ ;;
+ v850e)
+ target_cpu_default2="TARGET_CPU_$with_cpu"
+ ;;
+ *)
+ if test x$pass2done = xyes
+ then
+ echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
+ exit 1
+ fi
+ ;;
+ esac
+ ;;
esac
if test "$target_cpu_default2" != ""