]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR bootstrap/33100 (on bootstrap getting section .eh_frame: bad cie version 0...
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Thu, 6 Nov 2008 15:41:52 +0000 (15:41 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Thu, 6 Nov 2008 15:41:52 +0000 (15:41 +0000)
PR bootstrap/33100
* config.gcc (i[34567]86-*-solaris2*): Include i386/t-crtstuff
only with GNU ld.

From-SVN: r141647

gcc/ChangeLog
gcc/config.gcc

index c8eb0a901df248aa59ceda8c95c4e7d7895ed0d0..97aff4063df11a48863ffeb485830574572b6314 100644 (file)
@@ -1,3 +1,9 @@
+2008-11-06  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       PR bootstrap/33100
+       * config.gcc (i[34567]86-*-solaris2*): Include i386/t-crtstuff
+       only with GNU ld.
+
 2008-10-31  Kaz Kojima  <kkojima@gcc.gnu.org>
 
        PR target/37909
index a997172294bd60eb75c456e93bc15fe9c82c757d..66661e0fb14268a78d8835e681c9898ee0d650d5 100644 (file)
@@ -1,6 +1,6 @@
 # GCC target-specific configuration file.
-# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
-# Free Software Foundation, Inc.
+# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
+# 2008 Free Software Foundation, Inc.
 
 #This file is part of GCC.
 
@@ -1207,7 +1207,10 @@ i[34567]86-*-solaris2*)
        *-*-solaris2.1[0-9]*)
                tm_file="${tm_file} i386/x86-64.h i386/sol2-10.h"
                tm_defines="${tm_defines} TARGET_BI_ARCH=1"
-               tmake_file="$tmake_file i386/t-crtstuff i386/t-sol2-10"
+               tmake_file="$tmake_file i386/t-sol2-10"
+               if test x$gnu_ld = xyes; then
+                       tmake_file="$tmake_file i386/t-crtstuff"
+               fi
                need_64bit_hwint=yes
                # FIXME: -m64 for i[34567]86-*-* should be allowed just
                # like -m32 for x86_64-*-*.