From e1e06460fd2bcc2f3ca85f5cb4fe67382d3b7df0 Mon Sep 17 00:00:00 2001
From: mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon, 14 Mar 2011 02:47:49 +0000
Subject: [PATCH] 2011-03-13  Jack Howarth  <howarth@bromo.med.uc.edu>

	    PR lto/48086
	    * configure.ac: Disable LTO on darwin due to an assembler change in
	    Xcode 3.2.6/4.0 that limits the total number of sections/segments to
	    under 256.
	    * configure: Regenerate.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170929 138bc75d-0d04-0410-961f-82ee72b054a4
---
 ChangeLog    | 8 ++++++++
 configure    | 2 +-
 configure.ac | 2 +-
 3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 72d5ca7082c5..ab6a900c51fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-03-13  Jack Howarth  <howarth@bromo.med.uc.edu>
+
+	PR lto/48086
+	* configure.ac: Disable LTO on darwin due to an assembler change in
+	Xcode 3.2.6/4.0 that limits the total number of sections/segments to
+	under 256.
+	* configure: Regenerate.
+
 2011-03-11  Chen Liqin <liqin.gcc@gmail.com>
 
 	* MAINTAINERS: Update myself as score backend maintainer, update my e-mail address.
diff --git a/configure b/configure
index 5e97d0f6d61d..2a21f9f67b94 100755
--- a/configure
+++ b/configure
@@ -6206,7 +6206,7 @@ if test $target_elf = yes; then :
 else
   if test x"$default_enable_lto" = x"yes" ; then
     case $target in
-      *-apple-darwin* | *-cygwin* | *-mingw*) ;;
+      *-cygwin* | *-mingw*) ;;
       # On other non-ELF platforms, LTO has yet to be validated.
       *) enable_lto=no ;;
     esac
diff --git a/configure.ac b/configure.ac
index 233ce0a768e2..02eb78459ecb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1743,7 +1743,7 @@ ACX_ELF_TARGET_IFELSE([# ELF platforms build the lto-plugin always.
   build_lto_plugin=yes
 ],[if test x"$default_enable_lto" = x"yes" ; then
     case $target in
-      *-apple-darwin* | *-cygwin* | *-mingw*) ;;
+      *-cygwin* | *-mingw*) ;;
       # On other non-ELF platforms, LTO has yet to be validated.
       *) enable_lto=no ;;
     esac
-- 
GitLab