packages: gcc/gcc-branch.diff, gcc/gcc.spec - rel 8; fixes from upstream
arekm
arekm at pld-linux.org
Tue Jun 8 10:55:40 CEST 2010
Author: arekm Date: Tue Jun 8 08:55:40 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 8; fixes from upstream
---- Files affected:
packages/gcc:
gcc-branch.diff (1.31 -> 1.32) , gcc.spec (1.619 -> 1.620)
---- Diffs:
================================================================
Index: packages/gcc/gcc-branch.diff
diff -u packages/gcc/gcc-branch.diff:1.31 packages/gcc/gcc-branch.diff:1.32
--- packages/gcc/gcc-branch.diff:1.31 Tue Jun 1 10:11:04 2010
+++ packages/gcc/gcc-branch.diff Tue Jun 8 10:55:30 2010
@@ -1,8 +1,78 @@
Index: configure
===================================================================
---- configure (.../tags/gcc_4_5_0_release) (wersja 160092)
-+++ configure (.../branches/gcc-4_5-branch) (wersja 160092)
-@@ -7610,7 +7610,7 @@
+--- configure (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ configure (.../branches/gcc-4_5-branch) (wersja 160426)
+@@ -6574,7 +6574,6 @@
+ elf_nextscn (0, 0);
+ elf_strptr (0, 0, 0);
+ elf_getident (0, 0);
+- elf_getshdrstrndx (0, 0);
+ elf_begin (0, 0, 0);
+ elf_ndxscn (0);
+ elf_end (0);
+@@ -6594,6 +6593,61 @@
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+
++ # Check for elf_getshdrstrndx or elf_getshstrndx. The latter's flavor
++ # is determined in gcc/configure.ac.
++ if test x"$enable_lto" = x"yes" ; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_getshdrstrndx" >&5
++$as_echo_n "checking for elf_getshdrstrndx... " >&6; }
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++#include <libelf.h>
++int
++main ()
++{
++
++ elf_getshdrstrndx (0, 0);
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_link "$LINENO"; then :
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++$as_echo "yes" >&6; };
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; };
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_getshstrndx" >&5
++$as_echo_n "checking for elf_getshstrndx... " >&6; }
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++#include <libelf.h>
++int
++main ()
++{
++
++ elf_getshstrndx (0, 0);
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_link "$LINENO"; then :
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++$as_echo "yes" >&6; };
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }; enable_lto=no; libelflibs= ; libelfinc=
++
++fi
++rm -f core conftest.err conftest.$ac_objext \
++ conftest$ac_exeext conftest.$ac_ext
++
++fi
++rm -f core conftest.err conftest.$ac_objext \
++ conftest$ac_exeext conftest.$ac_ext
++ fi
++
+ # If we couldn't enable LTO and the user forced it, emit an error.
+ if test x"$enable_lto" = x"no" \
+ && test x"$default_enable_lto" != x"yes" ; then
+@@ -7610,7 +7664,7 @@
mv conftest.o conftest.o.g0 &&
${CC} -c -g conftest.c &&
mv conftest.o conftest.o.g &&
@@ -13,8 +83,8 @@
BUILD_CONFIG=
Index: libgcc/config.host
===================================================================
---- libgcc/config.host (.../tags/gcc_4_5_0_release) (wersja 160092)
-+++ libgcc/config.host (.../branches/gcc-4_5-branch) (wersja 160092)
+--- libgcc/config.host (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ libgcc/config.host (.../branches/gcc-4_5-branch) (wersja 160426)
@@ -600,6 +600,7 @@
i[34567]86-*-darwin* | x86_64-*-darwin* | \
i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
@@ -25,8 +95,8 @@
if test "${host_address}" = 32; then
Index: libgcc/config/i386/32/sfp-machine.h
===================================================================
---- libgcc/config/i386/32/sfp-machine.h (.../tags/gcc_4_5_0_release) (wersja 160092)
-+++ libgcc/config/i386/32/sfp-machine.h (.../branches/gcc-4_5-branch) (wersja 160092)
+--- libgcc/config/i386/32/sfp-machine.h (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ libgcc/config/i386/32/sfp-machine.h (.../branches/gcc-4_5-branch) (wersja 160426)
@@ -142,8 +142,8 @@
if (_fex & FP_EX_DIVZERO) \
{ \
@@ -40,8 +110,8 @@
} \
Index: libgcc/ChangeLog
===================================================================
---- libgcc/ChangeLog (.../tags/gcc_4_5_0_release) (wersja 160092)
-+++ libgcc/ChangeLog (.../branches/gcc-4_5-branch) (wersja 160092)
+--- libgcc/ChangeLog (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ libgcc/ChangeLog (.../branches/gcc-4_5-branch) (wersja 160426)
@@ -1,3 +1,15 @@
+2010-05-19 Rainer Orth <ro at CeBiTec.Uni-Bielefeld.DE>
+
@@ -60,8 +130,8 @@
* GCC 4.5.0 released.
Index: libgomp/sections.c
===================================================================
---- libgomp/sections.c (.../tags/gcc_4_5_0_release) (wersja 160092)
-+++ libgomp/sections.c (.../branches/gcc-4_5-branch) (wersja 160092)
+--- libgomp/sections.c (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ libgomp/sections.c (.../branches/gcc-4_5-branch) (wersja 160426)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2005, 2007, 2008, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
@@ -97,8 +167,8 @@
/* This routine is called when first encountering a sections construct
Index: libgomp/ChangeLog
===================================================================
---- libgomp/ChangeLog (.../tags/gcc_4_5_0_release) (wersja 160092)
-+++ libgomp/ChangeLog (.../branches/gcc-4_5-branch) (wersja 160092)
+--- libgomp/ChangeLog (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ libgomp/ChangeLog (.../branches/gcc-4_5-branch) (wersja 160426)
@@ -1,3 +1,24 @@
+2010-04-26 Jakub Jelinek <jakub at redhat.com>
+
@@ -127,7 +197,7 @@
Index: libgomp/testsuite/libgomp.c++/pr43893.C
===================================================================
--- libgomp/testsuite/libgomp.c++/pr43893.C (.../tags/gcc_4_5_0_release) (wersja 0)
-+++ libgomp/testsuite/libgomp.c++/pr43893.C (.../branches/gcc-4_5-branch) (wersja 160092)
++++ libgomp/testsuite/libgomp.c++/pr43893.C (.../branches/gcc-4_5-branch) (wersja 160426)
@@ -0,0 +1,125 @@
+// PR c/43893
+// { dg-do run }
@@ -257,7 +327,7 @@
Index: libgomp/testsuite/libgomp.fortran/vla8.f90
===================================================================
--- libgomp/testsuite/libgomp.fortran/vla8.f90 (.../tags/gcc_4_5_0_release) (wersja 0)
-+++ libgomp/testsuite/libgomp.fortran/vla8.f90 (.../branches/gcc-4_5-branch) (wersja 160092)
++++ libgomp/testsuite/libgomp.fortran/vla8.f90 (.../branches/gcc-4_5-branch) (wersja 160426)
@@ -0,0 +1,254 @@
+! { dg-do run }
+
@@ -516,7 +586,7 @@
Index: libgomp/testsuite/libgomp.c/pr43893.c
===================================================================
--- libgomp/testsuite/libgomp.c/pr43893.c (.../tags/gcc_4_5_0_release) (wersja 0)
-+++ libgomp/testsuite/libgomp.c/pr43893.c (.../branches/gcc-4_5-branch) (wersja 160092)
++++ libgomp/testsuite/libgomp.c/pr43893.c (.../branches/gcc-4_5-branch) (wersja 160426)
@@ -0,0 +1,61 @@
+/* PR c/43893 */
+/* { dg-do run } */
@@ -581,8 +651,8 @@
+}
Index: libgomp/config/linux/proc.c
===================================================================
---- libgomp/config/linux/proc.c (.../tags/gcc_4_5_0_release) (wersja 160092)
-+++ libgomp/config/linux/proc.c (.../branches/gcc-4_5-branch) (wersja 160092)
+--- libgomp/config/linux/proc.c (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ libgomp/config/linux/proc.c (.../branches/gcc-4_5-branch) (wersja 160426)
@@ -1,4 +1,5 @@
-/* Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010
@@ -623,8 +693,8 @@
#ifdef _SC_NPROCESSORS_ONLN
Index: libgomp/config/linux/affinity.c
===================================================================
---- libgomp/config/linux/affinity.c (.../tags/gcc_4_5_0_release) (wersja 160092)
-+++ libgomp/config/linux/affinity.c (.../branches/gcc-4_5-branch) (wersja 160092)
+--- libgomp/config/linux/affinity.c (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ libgomp/config/linux/affinity.c (.../branches/gcc-4_5-branch) (wersja 160426)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
@@ -673,8 +743,8 @@
pthread_setaffinity_np (pthread_self (), sizeof (cpuset), &cpuset);
Index: gcc/tree-vrp.c
===================================================================
---- gcc/tree-vrp.c (.../tags/gcc_4_5_0_release) (wersja 160092)
-+++ gcc/tree-vrp.c (.../branches/gcc-4_5-branch) (wersja 160092)
+--- gcc/tree-vrp.c (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ gcc/tree-vrp.c (.../branches/gcc-4_5-branch) (wersja 160426)
@@ -764,7 +764,28 @@
&& integer_zerop (vr->max);
}
@@ -882,10 +952,23 @@
/* Nothing changed, don't add outgoing edges. */
return SSA_PROP_NOT_INTERESTING;
+Index: gcc/sched-ebb.c
+===================================================================
+--- gcc/sched-ebb.c (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ gcc/sched-ebb.c (.../branches/gcc-4_5-branch) (wersja 160426)
+@@ -463,7 +463,7 @@
+ schedule_ebb (rtx head, rtx tail)
+ {
+ basic_block first_bb, target_bb;
+- struct deps tmp_deps;
++ struct deps_desc tmp_deps;
+
+ first_bb = BLOCK_FOR_INSN (head);
+ last_bb = BLOCK_FOR_INSN (tail);
Index: gcc/doc/sourcebuild.texi
===================================================================
---- gcc/doc/sourcebuild.texi (.../tags/gcc_4_5_0_release) (wersja 160092)
-+++ gcc/doc/sourcebuild.texi (.../branches/gcc-4_5-branch) (wersja 160092)
+--- gcc/doc/sourcebuild.texi (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ gcc/doc/sourcebuild.texi (.../branches/gcc-4_5-branch) (wersja 160426)
@@ -1094,9 +1094,12 @@
/* @{ dg-skip-if "" @{ *-*-* @} @{ "-O2 -g" "-O3 -g" @} @{ "-fpic" @} @} */
@end smallexample
@@ -910,7 +993,17 @@
@item sync_char_short
Target supports atomic operations on @code{char} and @code{short}.
-@@ -1794,6 +1800,9 @@
+@@ -1722,6 +1728,9 @@
+ @item fstack_protector
+ Target supports @option{-fstack-protector}.
+
++ at item gas
++Target uses GNU @command{as}.
++
+ @item gc_sections
+ Target supports @option{--gc-sections}.
+
+@@ -1794,6 +1803,9 @@
@subsubsection Local to tests in @code{gcc.target/i386}
@table @code
@@ -920,7 +1013,7 @@
@item aes
Target supports compiling @code{aes} instructions.
-@@ -1806,6 +1815,9 @@
+@@ -1806,6 +1818,9 @@
@item pclmul
Target supports compiling @code{pclmul} instructions.
@@ -932,8 +1025,8 @@
Index: gcc/doc/standards.texi
===================================================================
---- gcc/doc/standards.texi (.../tags/gcc_4_5_0_release) (wersja 160092)
-+++ gcc/doc/standards.texi (.../branches/gcc-4_5-branch) (wersja 160092)
+--- gcc/doc/standards.texi (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ gcc/doc/standards.texi (.../branches/gcc-4_5-branch) (wersja 160426)
@@ -183,7 +183,7 @@
available on the ISO C++ committee's web site at
@uref{http://www.open-std.org/jtc1/sc22/wg21/}. For information
@@ -945,8 +1038,17 @@
@option{-pedantic} (or @option{-pedantic-errors} if you want them to be
Index: gcc/doc/install.texi
===================================================================
---- gcc/doc/install.texi (.../tags/gcc_4_5_0_release) (wersja 160092)
-+++ gcc/doc/install.texi (.../branches/gcc-4_5-branch) (wersja 160092)
+--- gcc/doc/install.texi (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ gcc/doc/install.texi (.../branches/gcc-4_5-branch) (wersja 160426)
+@@ -361,7 +361,7 @@
+ downloaded from @uref{http://www.mr511.de/software/libelf-0.8.12.tar.gz},
+ though it is commonly available in several systems. The versions in
+ IRIX 5 and 6 don't work since they lack @file{gelf.h}. The version in
+-recent releases of Solaris 11 does work, previous ones don't yet.
++Solaris 2 does work.
+
+ The @option{--with-libelf} configure option should be used if libelf is
+ not installed in your default library search patch.
@@ -1233,6 +1233,10 @@
Specify that the user visible @command{cpp} program should be installed
in @file{@var{prefix}/@var{dirname}/cpp}, in addition to @var{bindir}.
@@ -960,9 +1062,23 @@
(instead of @code{.init} and @code{.fini}) for constructors and
Index: gcc/lto-symtab.c
===================================================================
---- gcc/lto-symtab.c (.../tags/gcc_4_5_0_release) (wersja 160092)
-+++ gcc/lto-symtab.c (.../branches/gcc-4_5-branch) (wersja 160092)
-@@ -406,6 +406,13 @@
+--- gcc/lto-symtab.c (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ gcc/lto-symtab.c (.../branches/gcc-4_5-branch) (wersja 160426)
+@@ -94,9 +94,10 @@
+ const struct lto_symtab_entry_def *base =
+ (const struct lto_symtab_entry_def *) p;
+
+- /* Keep this only if the decl or the chain is marked. */
+- return (ggc_marked_p (base->decl)
+- || (base->next && ggc_marked_p (base->next)));
++ /* Keep this only if the common IDENTIFIER_NODE of the symtab chain
++ is marked which it will be if at least one of the DECLs in the
++ chain is marked. */
++ return ggc_marked_p (base->id);
+ }
+
+ /* Lazily initialize resolution hash tables. */
+@@ -406,6 +407,13 @@
{
if (TREE_CODE (e->decl) == FUNCTION_DECL)
e->node = cgraph_get_node (e->decl);
@@ -978,15 +1094,15 @@
e = (lto_symtab_entry_t) *slot;
Index: gcc/DATESTAMP
===================================================================
---- gcc/DATESTAMP (.../tags/gcc_4_5_0_release) (wersja 160092)
-+++ gcc/DATESTAMP (.../branches/gcc-4_5-branch) (wersja 160092)
+--- gcc/DATESTAMP (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ gcc/DATESTAMP (.../branches/gcc-4_5-branch) (wersja 160426)
@@ -1 +1 @@
-20100414
-+20100601
++20100608
Index: gcc/tree-tailcall.c
===================================================================
---- gcc/tree-tailcall.c (.../tags/gcc_4_5_0_release) (wersja 160092)
-+++ gcc/tree-tailcall.c (.../branches/gcc-4_5-branch) (wersja 160092)
+--- gcc/tree-tailcall.c (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ gcc/tree-tailcall.c (.../branches/gcc-4_5-branch) (wersja 160426)
@@ -375,6 +375,8 @@
tree m, a;
basic_block abb;
@@ -1015,8 +1131,8 @@
value. The return value should also be dependent on each of them,
Index: gcc/tree.c
===================================================================
---- gcc/tree.c (.../tags/gcc_4_5_0_release) (wersja 160092)
-+++ gcc/tree.c (.../branches/gcc-4_5-branch) (wersja 160092)
+--- gcc/tree.c (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ gcc/tree.c (.../branches/gcc-4_5-branch) (wersja 160426)
@@ -4265,7 +4265,12 @@
TYPE_LANG_SLOT_1 (type) = NULL_TREE;
}
@@ -1067,10 +1183,23 @@
&& ! TREE_STATIC (var))
|| TREE_CODE (var) == LABEL_DECL
|| TREE_CODE (var) == RESULT_DECL));
+Index: gcc/ddg.c
+===================================================================
+--- gcc/ddg.c (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ gcc/ddg.c (.../branches/gcc-4_5-branch) (wersja 160426)
+@@ -390,7 +390,7 @@
+ {
+ int i;
+ /* Hold the dependency analysis state during dependency calculations. */
+- struct deps tmp_deps;
++ struct deps_desc tmp_deps;
+ rtx head, tail;
+
+ /* Build the dependence information, using the sched_analyze function. */
Index: gcc/configure
===================================================================
---- gcc/configure (.../tags/gcc_4_5_0_release) (wersja 160092)
-+++ gcc/configure (.../branches/gcc-4_5-branch) (wersja 160092)
+--- gcc/configure (.../tags/gcc_4_5_0_release) (wersja 160426)
++++ gcc/configure (.../branches/gcc-4_5-branch) (wersja 160426)
@@ -893,6 +893,7 @@
enable_sjlj_exceptions
with_system_libunwind
@@ -1104,7 +1233,67 @@
--enable-gnu-unique-object enable the use of the @gnu_unique_object ELF extension on
glibc systems
--enable-linker-build-id
-@@ -10628,6 +10633,17 @@
+@@ -8424,6 +8429,59 @@
+ done
+
+
++save_CPPFLAGS="$CPPFLAGS"
++save_LIBS="$LIBS"
++LIBS="$LIBS $LIBELFLIBS"
++for ac_func in elf_getshdrstrndx
++do :
++ ac_fn_c_check_func "$LINENO" "elf_getshdrstrndx" "ac_cv_func_elf_getshdrstrndx"
++if test "x$ac_cv_func_elf_getshdrstrndx" = x""yes; then :
++ cat >>confdefs.h <<_ACEOF
++#define HAVE_ELF_GETSHDRSTRNDX 1
++_ACEOF
++
++else
++ for ac_func in elf_getshstrndx
++do :
++ ac_fn_c_check_func "$LINENO" "elf_getshstrndx" "ac_cv_func_elf_getshstrndx"
++if test "x$ac_cv_func_elf_getshstrndx" = x""yes; then :
++ cat >>confdefs.h <<_ACEOF
++#define HAVE_ELF_GETSHSTRNDX 1
++_ACEOF
++ if test "$cross_compiling" = yes; then :
++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++as_fn_error "cannot run test program while cross compiling
++See \`config.log' for more details." "$LINENO" 5; }
++else
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++#include <stdlib.h>
++#include <libelf.h>
++int main()
++{
++ return elf_getshstrndx (NULL, 0) == 0;
++}
++_ACEOF
++if ac_fn_c_try_run "$LINENO"; then :
++
++$as_echo "#define HAVE_ELF_GETSHSTRNDX_GABI 1" >>confdefs.h
++
++fi
++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
++ conftest.$ac_objext conftest.beam conftest.$ac_ext
++fi
++
++fi
++done
++
++
++fi
++done
++
++LIBS="$save_LIBS"
++CPPFLAGS="$save_CPPFLAGS"
++
+ if test x$ac_cv_func_mbstowcs = xyes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbstowcs works" >&5
+ $as_echo_n "checking whether mbstowcs works... " >&6; }
+@@ -10628,6 +10686,17 @@
fi
@@ -1122,25 +1311,25 @@
# Check whether --enable-cld was given.
if test "${enable_cld+set}" = set; then :
enableval=$enable_cld;
-@@ -17037,7 +17053,7 @@
+@@ -17037,7 +17106,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 17040 "configure"
-+#line 17056 "configure"
++#line 17109 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -17143,7 +17159,7 @@
+@@ -17143,7 +17212,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 17146 "configure"
-+#line 17162 "configure"
++#line 17215 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -21174,8 +21190,36 @@
+@@ -21174,8 +21243,36 @@
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; }
then
@@ -1178,7 +1367,7 @@
echo "configure: failed program was" >&5
cat conftest.s >&5
fi
-@@ -21195,6 +21239,27 @@
+@@ -21195,6 +21292,27 @@
ld_vers_major=`expr "$ld_vers" : '\([0-9]*\)'`
ld_vers_minor=`expr "$ld_vers" : '[0-9]*\.\([0-9]*\)'`
ld_vers_patch=`expr "$ld_vers" : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
@@ -1206,7 +1395,7 @@
fi
fi
-@@ -21236,6 +21301,8 @@
+@@ -21236,6 +21354,8 @@
gcc_cv_ld_hidden=yes
;;
*-*-solaris2.9* | *-*-solaris2.1[0-9]*)
@@ -1215,7 +1404,7 @@
gcc_cv_ld_hidden=yes
;;
*)
-@@ -21791,7 +21858,7 @@
+@@ -21791,7 +21911,7 @@
&& test $in_tree_ld_is_elf = yes; then
comdat_group=yes
fi
@@ -1224,7 +1413,7 @@
comdat_group=yes
if test 0"$ld_date" -lt 20050308; then
if test -n "$ld_date"; then
-@@ -21804,9 +21871,32 @@
+@@ -21804,9 +21924,32 @@
fi
fi
else
@@ -1259,7 +1448,7 @@
if test $comdat_group = no; then
gcc_cv_as_comdat_group=no
gcc_cv_as_comdat_group_percent=no
-@@ -22953,6 +23043,37 @@
+@@ -22953,6 +23096,37 @@
fi
@@ -1297,7 +1486,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for sahf mnemonic" >&5
$as_echo_n "checking assembler for sahf mnemonic... " >&6; }
if test "${gcc_cv_as_ix86_sahf+set}" = set; then :
-@@ -22960,7 +23081,8 @@
+@@ -22960,7 +23134,8 @@
else
gcc_cv_as_ix86_sahf=no
if test x$gcc_cv_as != x; then
@@ -1307,7 +1496,7 @@
if { ac_try='$gcc_cv_as $gcc_cv_as_flags -o conftest.o conftest.s >&5'
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
(eval $ac_try) 2>&5
-@@ -23052,7 +23174,7 @@
+@@ -23052,7 +23227,7 @@
fi
@@ -1316,7 +1505,7 @@
# to 1 if the feature is present, 0 otherwise.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for GOTOFF in data" >&5
$as_echo_n "checking assembler for GOTOFF in data... " >&6; }
-@@ -23093,6 +23215,40 @@
+@@ -23093,6 +23268,40 @@
#define HAVE_AS_GOTOFF_IN_DATA `if test $gcc_cv_as_ix86_gotoff_in_data = yes; then echo 1; else echo 0; fi`
_ACEOF
@@ -1357,7 +1546,7 @@
;;
ia64*-*-*)
-@@ -23937,8 +24093,8 @@
+@@ -23937,8 +24146,8 @@
echo ' .end x' >> conftest.s
if $gcc_cv_as -o conftest.o conftest.s >/dev/null 2>&5 \
&& $gcc_cv_ld -shared -o conftest.so conftest.o >/dev/null 2>&5; then
@@ -1368,7 +1557,7 @@
gcc_cv_as_ld_jalr_reloc=yes
fi
fi
-@@ -24447,7 +24603,8 @@
+@@ -24447,7 +24656,8 @@
if $gcc_cv_ld -o conftest conftest.o --entry=_start --gc-sections 2>&1 \
| grep "gc-sections option ignored" > /dev/null; then
gcc_cv_ld_eh_gc_sections=no
@@ -1378,7 +1567,7 @@
gcc_cv_ld_eh_gc_sections=yes
# If no COMDAT groups, the compiler will emit .gnu.linkonce.t. sections.
if test x$gcc_cv_as_comdat_group != xyes; then
-@@ -24474,7 +24631,8 @@
+@@ -24474,7 +24684,8 @@
if $gcc_cv_ld -o conftest conftest.o --entry=_start --gc-sections 2>&1 \
| grep "gc-sections option ignored" > /dev/null; then
gcc_cv_ld_eh_gc_sections=no
@@ -1388,7 +1577,44 @@
gcc_cv_ld_eh_gc_sections=yes
fi
fi
-@@ -25171,10 +25329,14 @@
+@@ -24622,6 +24833,36 @@
+ fi
+ fi
+
++# In binutils 2.21, GNU ld gained support for new emulations fully
++# supporting the Solaris 2 ABI. Detect their presence in the linker used.
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking linker *_sol2 emulation support" >&5
++$as_echo_n "checking linker *_sol2 emulation support... " >&6; }
++if test "${gcc_cv_ld_sol2_emulation+set}" = set; then :
++ $as_echo_n "(cached) " >&6
++else
++ gcc_cv_ld_sol2_emulation=no
++ if test $in_tree_ld = yes ; then
++ if test "$gcc_cv_gld_major_version" -eq 2 -a \
++ "$gcc_cv_gld_minor_version" -ge 21 -o \
++ "$gcc_cv_gld_major_version" -gt 2 \
++ && test $in_tree_ld_is_elf = yes; then
++ gcc_cv_ld_sol2_emulation=yes
++ fi
++ elif test x$gcc_cv_ld != x; then
++ if $gcc_cv_ld -V 2>/dev/null | sed -e '1,/Supported emulations/d;q' | \
<<Diff was trimmed, longer than 597 lines>>
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gcc/gcc-branch.diff?r1=1.31&r2=1.32&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gcc/gcc.spec?r1=1.619&r2=1.620&f=u
More information about the pld-cvs-commit
mailing list