Go to file
Dave Korn 3bec79c52e re PR lto/42776 (LTO doesn't work on non-ELF platforms.)
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.

From-SVN: r158762
2010-04-27 02:22:40 +00:00
INSTALL
boehm-gc Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
config configure: Regenerate after change to elf.m4. 2010-04-13 22:54:07 +00:00
contrib gcc_update: Sets the locale to C. 2010-04-22 06:15:07 +00:00
fixincludes config.build (alpha*-dec-osf4*): Remove. 2010-04-12 18:36:30 +00:00
gcc re PR lto/42776 (LTO doesn't work on non-ELF platforms.) 2010-04-27 02:22:40 +00:00
gnattools re PR ada/42659 (gnatmake thinks libraries aren't supported) 2010-01-09 18:21:52 +00:00
include * filenames.h (PATH_SEPARATOR): Delete. 2010-04-26 17:43:53 +00:00
intl Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
libada Makefile.in (GNATLIBCFLAGS_FOR_C): New variable. 2009-10-24 10:58:31 +00:00
libcpp c-common.c (flag_isoc1x): New. 2010-04-25 22:54:22 +01:00
libdecnumber Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
libffi tree-ssa-pre.c (my_rev_post_order_compute): Remove set but not used count variable. 2010-04-07 22:27:37 +02:00
libgcc config.gcc: Handle softfp as for Linux. 2010-04-15 15:29:07 +02:00
libgfortran unix.c (tempfile): Correct logic for mktemp case. 2010-04-24 14:24:33 +02:00
libgomp re PR c/43893 (Error: Invalid controlling predicate with -fopenmp) 2010-04-26 22:07:10 +02:00
libiberty filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR... 2010-04-23 20:55:41 -04:00
libjava re PR libgcj/40860 (regressions in libjava testsuite on arm-linux) 2010-04-21 16:34:01 +00:00
libmudflap Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
libobjc Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
libssp Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
libstdc++-v3 status_cxx200x.xml: Update to match n3092. 2010-04-27 00:33:32 +01:00
lto-plugin re PR lto/41550 (Fix security and portability issues in lto-plugin) 2010-04-23 15:49:10 +00:00
maintainer-scripts * crontab: Enable 4.6 snapshots. 2010-04-16 16:55:25 +01:00
zlib Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
ABOUT-NLS
COPYING COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
COPYING.LIB Update COPYING.LIB from upstream. Correct last Changelog. 2005-07-14 01:41:54 +00:00
COPYING.RUNTIME Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
COPYING3 COPYING_v3: New file. 2007-07-17 08:37:53 +00:00
COPYING3.LIB COPYING_v3: New file. 2007-07-17 08:37:53 +00:00
ChangeLog re PR lto/42776 (LTO doesn't work on non-ELF platforms.) 2010-04-27 02:22:40 +00:00
ChangeLog.tree-ssa
MAINTAINERS * MAINTAINERS (Write After Approval): Add myself. 2010-04-16 09:15:59 +00:00
Makefile.def PR libstdc++/36101, PR libstdc++/42813 2010-01-22 13:35:38 +00:00
Makefile.in Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete the config.cache files found... 2010-02-17 11:01:44 +00:00
Makefile.tpl Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete the config.cache files found... 2010-02-17 11:01:44 +00:00
README README: Refer to the various COPYING* files instead of just COPYING. 2009-10-10 20:59:49 +00:00
compile Update automake-provided files in the toplevel. 2009-08-22 11:47:16 +00:00
config-ml.in config-ml.in: don't handle --enable-shared and --enable-static. 2008-05-14 17:15:51 +00:00
config.guess config.sub: Update to version 2010-03-22. 2010-03-23 14:26:40 +00:00
config.rpath * config.rpath: Add AIX 6 support. 2008-03-13 14:55:20 -04:00
config.sub config.sub: Update to version 2010-03-22. 2010-03-23 14:26:40 +00:00
configure configure.ac (BUILD_CONFIG): Redirect output to /dev/null. 2010-04-20 10:19:38 +00:00
configure.ac re PR lto/42776 (LTO doesn't work on non-ELF platforms.) 2010-04-27 02:22:40 +00:00
depcomp Update automake-provided files in the toplevel. 2009-08-22 11:47:16 +00:00
install-sh Update automake-provided files in the toplevel. 2009-08-22 11:47:16 +00:00
libtool-ldflags re PR bootstrap/31906 ("-Xcompiler" is inserted after "-Xlinker" when building libstdc++) 2007-09-20 10:20:05 +00:00
libtool.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
ltgcc.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltmain.sh Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
ltoptions.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
ltsugar.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltversion.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
lt~obsolete.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
missing Update automake-provided files in the toplevel. 2009-08-22 11:47:16 +00:00
mkdep
mkinstalldirs Update automake-provided files in the toplevel. 2009-08-22 11:47:16 +00:00
move-if-change Import from Autoconf sources: 2005-11-21 13:21:37 +11:00
symlink-tree COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
ylwrap Update automake-provided files in the toplevel. 2009-08-22 11:47:16 +00:00

README

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.