head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2011.03.04.13.46.27;	author gerald;	state dead;
branches;
next	1.1;

1.1
date	2011.02.22.19.44.39;	author gerald;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update to the 20110303 snapshot of GCC 4.5.3.  The change for code
generation on i386 to default to i486 on FreeBSD 6 and above is now
upstream, so we can shed our specific patch.
@
text
@2011-02-06  Tijl Coosemans <tijl@@coosemans.org> 

	* config.gcc (i386-*-freebsd*): Default arch is i486.

Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc	(revision 170369)
+++ gcc/config.gcc	(working copy)
@@@@ -2795,6 +2795,16 @@@@
 arch_without_sse2=no
 arch_without_64bit=no
 case ${target} in
+  i386-*-freebsd*)
+    if test $fbsd_major -ge 6; then
+      arch=i486
+    else
+      arch=i386
+    fi
+    cpu=generic
+    arch_without_sse2=yes
+    arch_without_64bit=yes
+    ;;
   i386-*-*)
     arch=i386
     cpu=i386
@


1.1
log
@Update to the 20110217 snapshot of GCC 4.5.3.

By means of an extra patch code generation on i386 now defaults to
i486 on FreeBSD 6 and above. [1]

Submitted by:	tijl [1]
Reported by:	Yuri Karaban <tech@@askold.net> [1]
PR:		154364 [1]
@
text
@@

