summaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-07-20 19:27:02 -0400
committerDJ Delorie <dj@gcc.gnu.org>2005-07-20 19:27:02 -0400
commit38b2d076326a730238139d00c940fd306a5ddf3e (patch)
tree49956253fc931fdfea43fb640512022daf032ae2 /gcc/config.gcc
parent50b69666aa028b3f643d69eda72bd3729428f8ed (diff)
downloadgcc-38b2d076326a730238139d00c940fd306a5ddf3e.tar.gz
config.gcc: Add m32c-elf support.
* config.gcc: Add m32c-elf support. * doc/contrib.texi: Mention m32c. * doc/extend.texi: Document m32c extensions. * doc/install.texi: Mention m32c. * doc/invoke.texi: Document m32c options. * doc/md.texi: Document m32c constraints. * config/m32c/addsub.md: New file. * config/m32c/bitops.md: New file. * config/m32c/cond.md: New file. * config/m32c/jump.md: New file. * config/m32c/m32c-lib1.S: New file. * config/m32c/m32c-lib2.c: New file. * config/m32c/m32c-modes.def: New file. * config/m32c/m32c-pragma.c: New file. * config/m32c/m32c-protos.h: New file. * config/m32c/m32c.abi: New file. * config/m32c/m32c.c: New file. * config/m32c/m32c.h: New file. * config/m32c/m32c.md: New file. * config/m32c/m32c.opt: New file. * config/m32c/minmax.md: New file. * config/m32c/mov.md: New file. * config/m32c/muldiv.md: New file. * config/m32c/predicates.md: New file. * config/m32c/prologue.md: New file. * config/m32c/shift.md: New file. * config/m32c/t-m32c: New file. From-SVN: r102207
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index c33b491acd5..408f33cfa9f 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -231,6 +231,10 @@ tm_p_file=
cpu_type=`echo ${target} | sed 's/-.*$//'`
cpu_is_64bit=
case ${target} in
+m32c*-*-*)
+ cpu_type=m32c
+ tmake_file=m32c/t-m32c
+ ;;
alpha*-*-*)
cpu_type=alpha
need_64bit_hwint=yes
@@ -2255,6 +2259,12 @@ am33_2.0-*-linux*)
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
use_collect2=no
;;
+m32c-*-elf*)
+ tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
+ c_target_objs="m32c-pragma.o"
+ cxx_target_objs="m32c-pragma.o"
+ use_fixproto=yes
+ ;;
*)
echo "*** Configuration ${target} not supported" 1>&2
exit 1