$OpenBSD: patch-gcc-4_3_4_libgcc_config_host,v 1.1 2010/06/27 20:58:10 ckuethe Exp $
--- gcc-4.3.4/libgcc/config.host.orig	Thu Nov 20 10:09:53 2008
+++ gcc-4.3.4/libgcc/config.host	Sat Jun 26 11:58:40 2010
@@ -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*)
         ;;
