* configure.ac (--enable-gold): Support both, both/gold and both/bfd to add gold to configdirs without removing ld. * configure: Regenerated. * Makefile.def: Add install-gold dependency to install-ld. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158786 138bc75d-0d04-0410-961f-82ee72b054a4
ChangeLog: PR lto/42776 * configure.ac (--enable-lto): Refactor handling so libelf tests are only performed inside then-clause of ACX_ELF_TARGET_IFELSE, and allow LTO to be explicitly enabled on non-ELF platforms that are known to support it inside else-clause. * configure: Regenerate. gcc/ChangeLog: PR lto/42776 * configure.ac (gcc_cv_as_section_has_align): Set if installed binutils supports extended .section directive needed by LTO, or warn if older binutils found. (LTO_BINARY_READER): New AC_SUBST'd variable. (LTO_USE_LIBELF): Likewise. * gcc/config.gcc (lto_binary_reader): New target-specific configure variable. * gcc/Makefile.in (LTO_BINARY_READER): Import AC_SUBST'd autoconf var. (LTO_USE_LIBELF): Likewise. * configure: Regenerate. * collect2.c (is_elf): Rename from this ... (is_elf_or_coff): ... to this, and recognize and allow i386 COFF object files in addition to ELF-formatted ones. (scan_prog_file): Caller updated. Also allow for LTO info marker symbol to be prefixed or not by an extra underscore. * config/i386/t-cygming (winnt.o): Also depend on LTO_STREAMER_H. * config/i386/winnt.c: Also #include lto-streamer.h (i386_pe_asm_named_section): Specify 1-byte section alignment for LTO named sections. (i386_pe_asm_output_aligned_decl_common): Add comment. (i386_pe_maybe_record_exported_symbol): Allow decl arg to be NULL. gcc/lto/ChangeLog: PR lto/42776 * Make-lang.in (LTO_OBJS): Use LTO_BINARY_READER instead of hardcoding 'lto-elf.o'. ($(LTO_EXE)): Use LTO_USE_LIBELF instead of hardcoding '-lelf'. * lto-coff.h: New file. * lto-coff.c: Likewise. gcc/testsuite/ChangeLog: PR lto/42776 * lib/lto.exp (lto_prune_vis_warns): New function. (lto-link-and-maybe-run): Call it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158762 138bc75d-0d04-0410-961f-82ee72b054a4
* configure.ac (BUILD_CONFIG): Redirect output to /dev/null. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158550 138bc75d-0d04-0410-961f-82ee72b054a4
2010-04-17 Ralf Corsépius <ralf.corsepius@rtems.org> * configure.ac (*-*-rtems*): Add target-libiberty to $skipdirs. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158459 138bc75d-0d04-0410-961f-82ee72b054a4
toplevel: * configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx separately. * configure: Regenerate. gcc: * configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx flavor. * configure: Regenerate. * config.in: Regenerate. * doc/install.texi (Prerequisites): Document that Solaris 2 libelf works. gcc/lto: * lto-elf.c [!HAVE_ELF_GETSHDRSTRNDX] (elf_getshdrstrndx): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158423 138bc75d-0d04-0410-961f-82ee72b054a4
* MAINTAINERS (Write After Approval): Add myself. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158400 138bc75d-0d04-0410-961f-82ee72b054a4
Synchronize with src/. 2010-04-14 Tristan Gingold <gingold@adacore.com> * configure.ac (alpha*-*-*vms*): Remove ld from noconfigdirs. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158341 138bc75d-0d04-0410-961f-82ee72b054a4
2010-04-13 Steve Ellcey <sje@cup.hp.com> * configure: Regenerate after change to elf.m4. In config subdir: 2010-04-13 Steve Ellcey <sje@cup.hp.com> * elf.m4: Add hppa[12]*-*-hpux* to list of non-elf platforms. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158285 138bc75d-0d04-0410-961f-82ee72b054a4
2010-04-06 Iain Sandoe <iains@gcc.gnu.org> * MAINTAINERS (Write After Approval): Add myself. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158005 138bc75d-0d04-0410-961f-82ee72b054a4
Move changelog entries in the right file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157947 138bc75d-0d04-0410-961f-82ee72b054a4
* MAINTAINERS (Plugin): Add myself and Le-Chun Wu. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157925 138bc75d-0d04-0410-961f-82ee72b054a4
/: PR bootstrap/43615 PR bootstrap/43328 Revert: 2010-03-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * configure.ac: Do not pass --enable-multilib nor --disable-multilib in baseargs. Accept explicitly passed --enable_multilib. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157916 138bc75d-0d04-0410-961f-82ee72b054a4
* MAINTAINERS (CPU Port Maintainers): Add myself for spu port. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157893 138bc75d-0d04-0410-961f-82ee72b054a4
* MAINTAINERS: Remove myself. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157877 138bc75d-0d04-0410-961f-82ee72b054a4
Fix toplevel configure --enable-multilib handling. /: PR bootstrap/43328 * configure.ac: Do not pass --enable-multilib nor --disable-multilib in baseargs. Accept explicitly passed --enable_multilib. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157851 138bc75d-0d04-0410-961f-82ee72b054a4
2010-03-28 Andrew Pinski <pinskia@gmail.com> * MAINTAINERS (spu port): Remove me. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157790 138bc75d-0d04-0410-961f-82ee72b054a4
* configure.ac (tic6x-*-*): New case. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157675 138bc75d-0d04-0410-961f-82ee72b054a4
* config.sub: Update to version 2010-03-22. * config.guess: Update to version 2009-12-30. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157667 138bc75d-0d04-0410-961f-82ee72b054a4
PR ada/42554 * configure.ac: Only pass -c to ranlib for darwin9 and earlier. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157563 138bc75d-0d04-0410-961f-82ee72b054a4
Update my mail address. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157524 138bc75d-0d04-0410-961f-82ee72b054a4