aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorJames Bowman <james.bowman@ftdichip.com>2015-05-16 23:49:08 +0000
committerJames Bowman <jamesbowman@gcc.gnu.org>2015-05-16 23:49:08 +0000
commitfef939d6a96bde0f924152e6b9e22701c28f8880 (patch)
tree5e4897f8e04c41bd78ca2cb6244476efaf07df39 /gcc/config.gcc
parent9261aa4364af939b3fd91f20bf20c8e329434600 (diff)
downloadgcc-fef939d6a96bde0f924152e6b9e22701c28f8880.zip
gcc-fef939d6a96bde0f924152e6b9e22701c28f8880.tar.gz
gcc-fef939d6a96bde0f924152e6b9e22701c28f8880.tar.bz2
FT32 target added. Approved by Jeff Law [law@redhat.com]
From-SVN: r223261
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index e993e5d..91fbf86 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -340,6 +340,9 @@ crisv32-*)
frv*) cpu_type=frv
extra_options="${extra_options} g.opt"
;;
+ft32*) cpu_type=ft32
+ target_has_targetm_common=no
+ ;;
moxie*) cpu_type=moxie
target_has_targetm_common=no
;;
@@ -1194,6 +1197,12 @@ frv-*-*linux*)
gnu-user.h linux.h glibc-stdint.h frv/linux.h"
tmake_file="${tmake_file} frv/t-frv frv/t-linux"
;;
+ft32-*-elf)
+ gas=yes
+ gnu_ld=yes
+ tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}"
+ tmake_file="${tmake_file} ft32/t-ft32"
+ ;;
moxie-*-elf)
gas=yes
gnu_ld=yes