summaryrefslogtreecommitdiff
path: root/libgcc/config.host
diff options
context:
space:
mode:
authorAndy Hutchinson <hutchinsonandy@aim.com>2008-04-07 23:15:35 +0000
committerAndy Hutchinson <hutchinsonandy@gcc.gnu.org>2008-04-07 23:15:35 +0000
commit47583040f760ccfa6948622033a4835c8b747c5a (patch)
tree7d29825db664e80cfd1115e6b8f86fd735169d0d /libgcc/config.host
parent06407e30fd47563dabeaa37e033fd99e8bc8181c (diff)
downloadgcc-47583040f760ccfa6948622033a4835c8b747c5a.tar.gz
PR target/34210 PR target/35508 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file. * config/t-avr: New file. Build 16bit libgcc functions.
From-SVN: r133993
Diffstat (limited to 'libgcc/config.host')
-rw-r--r--libgcc/config.host5
1 files changed, 5 insertions, 0 deletions
diff --git a/libgcc/config.host b/libgcc/config.host
index 9496842f9bb..d695b44182d 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -77,6 +77,9 @@ strongarm*-*-*)
arm*-*-*)
cpu_type=arm
;;
+avr-*-*)
+ cpu_type=avr
+ ;;
bfin*-*)
cpu_type=bfin
;;
@@ -243,6 +246,8 @@ arm*-*-kaos*)
avr-*-rtems*)
;;
avr-*-*)
+ # Make HImode functions for AVR
+ tmake_file=${cpu_type}/t-avr
;;
bfin*-elf*)
;;