]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Missing changelog from last commit!
authorDave Korn <davek@gcc.gnu.org>
Tue, 27 Apr 2010 02:24:51 +0000 (02:24 +0000)
committerDave Korn <davek@gcc.gnu.org>
Tue, 27 Apr 2010 02:24:51 +0000 (02:24 +0000)
ChangeLog:

2010-04-27  Dave Korn  <dave.korn.cygwin@gmail.com>

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

2010-04-27  Dave Korn  <dave.korn.cygwin@gmail.com>

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.

From-SVN: r158764

gcc/ChangeLog

index 125d1082cf184ce75c4570f84c3c183bddbf40a1..e5f963d4b99eaa0b6635bb87c50dac0d8607b63f 100644 (file)
@@ -1,3 +1,30 @@
+2010-04-27  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       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.
+
 2010-04-27  Hans-Peter Nilsson  <hp@bitrange.com>
 
        PR target/43889