aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorKazuhiro Inaoka <inaoka.kazuhiro@renesas.com>2003-12-31 10:33:02 +0000
committerNick Clifton <nickc@gcc.gnu.org>2003-12-31 10:33:02 +0000
commitad12652102049de3b337a2e17718e6ca9810a159 (patch)
tree7a7665a0fcdb8294179c40f5b2418efd4aa141dc /gcc/config.gcc
parent04d1e6e212868d75be10537dba11d3a019dc93e1 (diff)
downloadgcc-ad12652102049de3b337a2e17718e6ca9810a159.zip
gcc-ad12652102049de3b337a2e17718e6ca9810a159.tar.gz
gcc-ad12652102049de3b337a2e17718e6ca9810a159.tar.bz2
Add support for m32r-linux target.
From-SVN: r75263
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc28
1 files changed, 28 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 168a235..b4e750a 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -279,6 +279,9 @@ ia64-*-*)
hppa*-*-* | parisc*-*-*)
cpu_type=pa
;;
+m32r*-*-*)
+ cpu_type=m32r
+ ;;
m680[012]0-*-*)
cpu_type=m68k
extra_headers=math-68881.h
@@ -1279,6 +1282,31 @@ m32r-*-elf*)
extra_parts="crtinit.o crtfini.o"
use_fixproto=yes
;;
+m32rle-*-elf*)
+ tm_file="dbxelf.h elfos.h svr4.h m32r/little.h ${tm_file}"
+ extra_parts="crtinit.o crtfini.o m32rx/crtinit.o m32rx/crtfini.o"
+ use_fixproto=yes
+ ;;
+m32r-*-linux*)
+ tm_file="dbxelf.h elfos.h svr4.h linux.h ${tm_file} m32r/linux.h"
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
+ tmake_file="m32r/t-linux"
+ gnu_ld=yes
+ use_fixproto=yes
+ if test x$enable_threads = xyes; then
+ thread_file='posix'
+ fi
+ ;;
+m32rle-*-linux*)
+ tm_file="dbxelf.h elfos.h svr4.h linux.h m32r/little.h ${tm_file} m32r/linux.h"
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
+ tmake_file="m32r/t-linux"
+ gnu_ld=yes
+ use_fixproto=yes
+ if test x$enable_threads = xyes; then
+ thread_file='posix'
+ fi
+ ;;
# m68hc11 and m68hc12 share the same machine description.
m68hc11-*-*|m6811-*-*)
tm_file="dbxelf.h elfos.h m68hc11/m68hc11.h"