aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorMichael Eager <eager@gcc.gnu.org>2010-09-30 18:21:57 +0000
committerMichael Eager <eager@gcc.gnu.org>2010-09-30 18:21:57 +0000
commit809201325afb3d70e517d30a483b39251b1b6e27 (patch)
tree3e6ddc920dca714da86387abe482505839030906 /gcc/config.gcc
parent51be162e8ebb3b173c7f93c7719a7bc6192cbc42 (diff)
downloadgcc-809201325afb3d70e517d30a483b39251b1b6e27.zip
gcc-809201325afb3d70e517d30a483b39251b1b6e27.tar.gz
gcc-809201325afb3d70e517d30a483b39251b1b6e27.tar.bz2
Check in support for Xilinx MicroBlaze processor.
From-SVN: r164756
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 6558a99..3eb7ff6 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -350,6 +350,10 @@ m32r*-*-*)
m68k-*-*)
extra_headers=math-68881.h
;;
+microblaze*-*-*)
+ cpu_type=microblaze
+ extra_options="${extra_options} g.opt"
+ ;;
mips*-*-*)
cpu_type=mips
need_64bit_hwint=yes
@@ -1757,6 +1761,19 @@ mep-*-*)
fi
use_gcc_stdint=wrap
;;
+microblaze*-linux*)
+ tm_file="${tm_file} dbxelf.h linux.h microblaze/linux.h"
+ c_target_objs="${c_target_objs} microblaze-c.o"
+ cxx_target_objs="${cxx_target_objs} microblaze-c.o"
+ tmake_file="${tmake_file} t-slibgcc-elf-ver t-slibgcc-nolc-override t-linux microblaze/t-microblaze"
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o crtbeginT.o"
+ ;;
+microblaze*-*-*)
+ tm_file="${tm_file} dbxelf.h"
+ c_target_objs="${c_target_objs} microblaze-c.o"
+ cxx_target_objs="${cxx_target_objs} microblaze-c.o"
+ tmake_file="${tmake_file} microblaze/t-microblaze"
+ ;;
mips-sgi-irix6.5*)
tm_file="elfos.h ${tm_file} mips/iris6.h"
tmake_file="mips/t-iris mips/t-iris6 mips/t-slibgcc-irix"