From 298213562bfb13a256b81bd6890eb15100a056fe Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sat, 2 Oct 2010 14:42:48 +0000 Subject: [PATCH] Sync toplevel and config from GCC. /: Sync from GCC: 2010-09-30 Michael Eager * configure.ac (microblaze): Add target-libssp to noconfigdirs. * configure: Regenerate. 2010-09-21 Iain Sandoe * configure.ac (enable-lto): Add Darwin to the list of supported lto targets and amend comment. * configure: Regenerate. 2010-09-03 Jack Howarth * configure.ac: Enable LTO by default on Darwin. * configure: Regenerate. 2010-07-23 Marc Glisse PR bootstrap/44455 * configure.ac (extra_mpfr_configure_flags): Copy from extra_mpc_gmp_configure_flags. * configure: Re-generated. config/: Sync from GCC: 2010-09-10 Jonathan Yong * dfp.m4: Enable decimal float for i?86 cygwin and mingw, and for x86_64 mingw. --- ChangeLog | 27 +++++++++++++++++++++++++++ config/ChangeLog | 9 +++++++++ config/dfp.m4 | 4 +++- configure | 18 ++++++++++-------- configure.ac | 18 ++++++++++-------- 5 files changed, 59 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index 39d19e74add..a39ed027630 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,30 @@ +2010-10-02 Ralf Wildenhues + + Sync from GCC: + + 2010-09-30 Michael Eager + + * configure.ac (microblaze): Add target-libssp to noconfigdirs. + * configure: Regenerate. + + 2010-09-21 Iain Sandoe + + * configure.ac (enable-lto): Add Darwin to the list of supported lto + targets and amend comment. + * configure: Regenerate. + + 2010-09-03 Jack Howarth + + * configure.ac: Enable LTO by default on Darwin. + * configure: Regenerate. + + 2010-07-23 Marc Glisse + + PR bootstrap/44455 + * configure.ac (extra_mpfr_configure_flags): Copy from + extra_mpc_gmp_configure_flags. + * configure: Re-generated. + 2010-09-30 Ralf Wildenhues Sync from GCC: diff --git a/config/ChangeLog b/config/ChangeLog index 4b5a427768d..0e494415878 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,12 @@ +2010-10-02 Ralf Wildenhues + + Sync from GCC: + + 2010-09-10 Jonathan Yong + + * dfp.m4: Enable decimal float for i?86 cygwin + and mingw, and for x86_64 mingw. + 2010-06-27 Ralf Wildenhues * po.m4 (AM_PO_SUBDIRS): Fix unportable shell quoting. diff --git a/config/dfp.m4 b/config/dfp.m4 index d5dbaf59b3b..cc778b19bbb 100644 --- a/config/dfp.m4 +++ b/config/dfp.m4 @@ -20,7 +20,9 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;; ], [ case $1 in - powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux*) + powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \ + i?86*-*-mingw* | x86_64*-*-mingw* | \ + i?86*-*-cygwin*) enable_decimal_float=yes ;; *) diff --git a/configure b/configure index 47f732f2422..a959aca383e 100755 --- a/configure +++ b/configure @@ -3650,7 +3650,7 @@ case "${target}" in noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}" ;; microblaze*) - noconfigdirs="$noconfigdirs gprof ${libgcj}" + noconfigdirs="$noconfigdirs gprof target-libssp ${libgcj}" ;; mips*-sde-elf*) skipdirs="$skipdirs target-libiberty" @@ -5472,7 +5472,7 @@ fi if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs" gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc" - extra_mpfr_configure_flags='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp' + extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir" extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir" # Do not test the gmp version. Assume that it is sufficient, since # it is in the source tree, and the library has not been built yet @@ -6670,17 +6670,19 @@ to specify its location." "$LINENO" 5 fi else if test x"$default_enable_lto" = x"yes" ; then - # On non-ELF platforms, LTO must be explicitly enabled. - enable_lto=no + case $target in + *-apple-darwin*) ;; + # On other non-ELF platforms, LTO must be explicitly enabled. + *) enable_lto=no ;; + esac else - # Apart from ELF platforms, only Windows supports LTO so far. It - # would also be nice to check the binutils support, but we don't + # Apart from ELF platforms, only Windows and Darwin support LTO so far. + # It would also be nice to check the binutils support, but we don't # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just # warn during gcc/ subconfigure; unless you're bootstrapping with # -flto it won't be needed until after installation anyway. case $target in - *-cygwin*|*-mingw*) ;; - *-apple-darwin*) ;; + *-cygwin*|*-mingw* | *-apple-darwin*) ;; *) if test x"$enable_lto" = x"yes"; then as_fn_error "LTO support is not enabled for this target." "$LINENO" 5 fi diff --git a/configure.ac b/configure.ac index eca08fe3eea..be7e992f5c3 100644 --- a/configure.ac +++ b/configure.ac @@ -887,7 +887,7 @@ case "${target}" in noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}" ;; microblaze*) - noconfigdirs="$noconfigdirs gprof ${libgcj}" + noconfigdirs="$noconfigdirs gprof target-libssp ${libgcj}" ;; mips*-sde-elf*) skipdirs="$skipdirs target-libiberty" @@ -1348,7 +1348,7 @@ fi if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs" gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc" - extra_mpfr_configure_flags='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp' + extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir" extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir" # Do not test the gmp version. Assume that it is sufficient, since # it is in the source tree, and the library has not been built yet @@ -1787,17 +1787,19 @@ to specify its location.]) AC_SUBST(libelflibs) AC_SUBST(libelfinc) fi],[if test x"$default_enable_lto" = x"yes" ; then - # On non-ELF platforms, LTO must be explicitly enabled. - enable_lto=no + case $target in + *-apple-darwin*) ;; + # On other non-ELF platforms, LTO must be explicitly enabled. + *) enable_lto=no ;; + esac else - # Apart from ELF platforms, only Windows supports LTO so far. It - # would also be nice to check the binutils support, but we don't + # Apart from ELF platforms, only Windows and Darwin support LTO so far. + # It would also be nice to check the binutils support, but we don't # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just # warn during gcc/ subconfigure; unless you're bootstrapping with # -flto it won't be needed until after installation anyway. case $target in - *-cygwin*|*-mingw*) ;; - *-apple-darwin*) ;; + *-cygwin*|*-mingw* | *-apple-darwin*) ;; *) if test x"$enable_lto" = x"yes"; then AC_MSG_ERROR([LTO support is not enabled for this target.]) fi -- 2.30.2