re PR lto/46273 (Failed to bootstrap)
authorIan Lance Taylor <iant@google.com>
Tue, 2 Nov 2010 17:58:45 +0000 (17:58 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 2 Nov 2010 17:58:45 +0000 (17:58 +0000)
PR lto/46273
* config.gcc: Revert last patch: set lto_binary_reader.

From-SVN: r166207

gcc/ChangeLog
gcc/config.gcc

index 796653212aedd5d39897249dd10e09d5d4ac3560..9c50ffe172f7ca49c53f6b5a3b3a2be55522d7e7 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-02  Ian Lance Taylor  <iant@google.com>
+
+       PR lto/46273
+       * config.gcc: Revert last patch: set lto_binary_reader.
+
 2010-11-02  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/46149
        (gimple_get_relevant_ref_binfo): Detect primary bases according to
        their field offset.
 
+2010-11-02  Ian Lance Taylor  <iant@google.com>
+
+       * doc/install.texi (Configuration): Note in two places that Java
+       is not enabled by default.
+
+2010-11-02  Ian Lance Taylor  <iant@google.com>
+
+       * doc/install.texi (Prerequisites): Remove libelf paragraphs.
+       (Configuration): Mention --disable-lto.  Remove --with-libelf
+       paragraph.
+
 2010-11-02  Ian Lance Taylor  <iant@google.com>
 
        * configure.ac: Remove elf_getshdrstrndx test.  Don't substitute
index 9b8e0a4291180539ca8378b826256b3ca39b24f4..8dce3d55a85a0fd318e21bcf894e19ff20295536 100644 (file)
@@ -219,6 +219,8 @@ default_gnu_indirect_function=no
 target_gtfiles=
 need_64bit_hwint=
 need_64bit_isa=
+# Selects the object file format reader/writer used by LTO.
+lto_binary_reader=lto-elf
 
 # Don't carry these over build->host->target.  Please.
 xm_file=
@@ -1158,11 +1160,13 @@ i[34567]86-*-darwin*)
        # support.
        with_cpu=${with_cpu:-generic}
        tmake_file="${tmake_file} t-slibgcc-darwin i386/t-crtpc i386/t-crtfm"
+       lto_binary_reader=lto-macho
        ;;
 x86_64-*-darwin*)
        with_cpu=${with_cpu:-generic}
        tmake_file="${tmake_file} ${cpu_type}/t-darwin64 t-slibgcc-darwin i386/t-crtpc i386/t-crtfm"
        tm_file="${tm_file} ${cpu_type}/darwin64.h"
+       lto_binary_reader=lto-macho
        ;;
 i[34567]86-*-elf*)
        tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h"
@@ -1417,6 +1421,7 @@ i[34567]86-*-pe | i[34567]86-*-cygwin*)
                thread_file='posix'
        fi
        use_gcc_stdint=wrap
+       lto_binary_reader=lto-coff
        ;;
 i[34567]86-*-mingw* | x86_64-*-mingw*)
        tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/mingw32.h"
@@ -1489,6 +1494,7 @@ i[34567]86-*-mingw* | x86_64-*-mingw*)
        cxx_target_objs="${cxx_target_objs} winnt-cxx.o msformat-c.o"
        default_use_cxa_atexit=yes
        use_gcc_stdint=wrap
+       lto_binary_reader=lto-coff
        case ${enable_threads} in
          "" | yes | win32)       thread_file='win32'
          tmake_file="${tmake_file} i386/t-gthr-win32"
@@ -2000,6 +2006,7 @@ powerpc-*-darwin*)
            ;;
        esac
        tmake_file="${tmake_file} t-slibgcc-darwin"
+       lto_binary_reader=lto-macho
        extra_headers=altivec.h
        ;;
 powerpc64-*-darwin*)
@@ -2007,6 +2014,7 @@ powerpc64-*-darwin*)
        extra_parts="crt2.o"
        tmake_file="${tmake_file} ${cpu_type}/t-darwin64 t-slibgcc-darwin"
        tm_file="${tm_file} ${cpu_type}/darwin8.h ${cpu_type}/darwin64.h"
+       lto_binary_reader=lto-macho
        extra_headers=altivec.h
        ;;
 powerpc*-*-freebsd*)