Age | Commit message (Collapse) | Author | Files | Lines |
|
supports LTO.
ChangeLog:
* configure.ac (--enable-lto): Add x86_64-apple-darwin* as
a platform that supports LTO.
* configure: Regenerate.
gcc/ChangeLog:
* config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*): Add
lto-macho as lto_binary_reader.
* target.h (struct gcc_target): New hooks lto_start and lto_end.
* target-def.h (TARGET_ASM_LTO_START, TARGET_ASM_LTO_END): Define.
* cgraphunit.c (ipa_passes): Wrap LTO assembler output generation
in lto_start and lto_end calls.
(is_elf_or_coff): Rename to maybe_lto_object_file. Add Mach-O
magic numbers.
(scan_prog_file): Update is_elf_or_coff call.
* doc/tm.text (TARGET_ASM_LTO_START, TARGET_ASM_LTO_END): Document.
* collect2.c (main): Fix enum comparison.
* config/darwin-protos.h (darwin_asm_lto_start, darwin_asm_lto_end):
Add prototypes.
* darwin9.h (LINK_COMMAND_SPEC): Pass -flto and -fwhopr to the linker.
* darwin.h (LINK_COMMAND_SPEC): Likewise. Define TARGET_ASM_LTO_START
and TARGET_ASM_LTO_END.
* darwin.c: Include obstack.h and lto-streamer.h.
(lto_section_names_offset, lto_section_names_obstack,
lto_asm_out_file, lto_asm_out_name, saved_asm_out_file): New static
global variables.
(LTO_SEGMENT_NAME, LTO_NAMES_SECTION): New defines.
(darwin_asm_lto_start): New function. Redirect output to asm_out_file
to a temporary file.
(darwin_asm_lto_end): New function. Restore asm_out_file.
(darwin_asm_named_section): For LTO sections, replace the name with
the offset of the section name in a string table, and build this
table.
(darwin_file_start): Initialize global vars for LTO support.
(darwin_file_end): If output to asm_out_file was redirected, append it
to the proper asm_out_file here. Add the section names section.
lto/ChangeLog:
* lto.h (struct lto_file_struct): Document offset member.
* lto-endian.h: New file.
* lto-macho.h: New file.
* lto-macho.c: New file.
* Make-lang.in: Add rule for lto-macho.o.
From-SVN: r159173
|
|
2010-05-05 Sebastian Pop <sebastian.pop@amd.com>
* configure.ac: Allow all the versions greater than 0.10 of PPL.
* configure: Regenerated.
From-SVN: r159134
|
|
gold to configdirs without removing ld.
* 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.
Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com>
From-SVN: r158786
|
|
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
|
|
* configure.ac (BUILD_CONFIG): Redirect output to /dev/null.
* configure: Regenerate.
From-SVN: r158550
|
|
2010-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac (*-*-rtems*): Add target-libiberty to $skipdirs.
* configure: Regenerate.
From-SVN: r158459
|
|
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.
From-SVN: r158423
|
|
From-SVN: r158400
|
|
2010-04-14 Tristan Gingold <gingold@adacore.com>
* configure.ac (alpha*-*-*vms*): Remove ld from noconfigdirs.
* configure: Regenerate.
From-SVN: r158341
|
|
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.
From-SVN: r158285
|
|
2010-04-06 Iain Sandoe <iains@gcc.gnu.org>
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r158005
|
|
From-SVN: r157947
|
|
* MAINTAINERS (Plugin): Add myself and Le-Chun Wu.
From-SVN: r157925
|
|
error: gnu/stubs-32.h: No such file or directory)
/:
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.
From-SVN: r157916
|
|
From-SVN: r157893
|
|
From-SVN: r157877
|
|
/:
PR bootstrap/43328
* configure.ac: Do not pass --enable-multilib nor
--disable-multilib in baseargs. Accept explicitly passed
--enable_multilib.
* configure: Regenerate.
From-SVN: r157851
|
|
2010-03-28 Andrew Pinski <pinskia@gmail.com>
* MAINTAINERS (spu port): Remove me.
From-SVN: r157790
|
|
* configure.ac (tic6x-*-*): New case.
* configure: Regenerate.
From-SVN: r157675
|
|
* config.sub: Update to version 2010-03-22.
* config.guess: Update to version 2009-12-30.
From-SVN: r157667
|
|
PR ada/42554
* configure.ac: Only pass -c to ranlib for darwin9 and earlier.
* configure: Regenerate.
From-SVN: r157563
|
|
From-SVN: r157524
|
|
2010-03-17 Sebastian Pop <sebastian.pop@amd.com>
* MAINTAINERS (dwarak.rajagopal@amd.com): Removed.
(ghassan.shobaki@amd.com): Removed.
From-SVN: r157519
|
|
From-SVN: r157500
|
|
* MAINTAINERS: Remove Dan Hipschman, William Maddox and Chris
Matthews.
From-SVN: r157490
|
|
* MAINTAINERS (Write After Approval): Remove Jim Blandy, Daniel
Gutson, Jeffrey D. Oldham and Mark Shinwell.
From-SVN: r157488
|
|
From-SVN: r157482
|
|
From-SVN: r157481
|
|
* MAINTAINERS: Update my email address.
From-SVN: r157455
|
|
From-SVN: r157298
|
|
libstdc++-v3:
PR libstdc++/32499
* testsuite/Makefile.am (check-DEJAGNU
$(check_DEJAGNU_normal_targets)): Export AR, RANLIB.
* testsuite/Makefile.in: Regenerate.
toplevel:
PR libstdc++/32499
* configure.ac (RANLIB): Default to true.
(STRIP): Likewise.
(RANLIB_FOR_TARGET): Remove superfluous : argument.
* configure: Regenerate.
From-SVN: r157144
|
|
2010-02-17 Rafael Ávila de Espíndola <espindola@google.com>
* MAINTAINERS (Plugin, LTO, LTO plugin): Remove myself.
(Write After Approval): Update my email address.
From-SVN: r156834
|
|
From-SVN: r156829
|
|
to the constructor caller)
PR 11238
* Makefile.tpl (local-distclean): Also remove config.cache files in
sub-directories as there may not be Makefiles present in the
sub-directories.
* Makefile.in: Regenerate.
* configure.ac: Revert previous delta.
* configure: Regenerate.
From-SVN: r156826
|
|
Makefiles.
* configure.ac: Delete config.cache files in sub-directories when
deleting Makefiles.
* configure: Regenerate.
From-SVN: r156769
|
|
From-SVN: r156739
|
|
2010-02-08 Andrew Pinski <pinskia@gmail.com>
* MAINTAINERS (spu port): Update my email address.
From-SVN: r156611
|
|
From-SVN: r156593
|
|
* configure.ac: Add "recommended" version checks for GMP/MPC.
Update recommended GMP/MPFR/MPC versions.
* configure: Regenerate.
gcc:
* doc/install.texi: Update recommended GMP/MPFR/MPC versions.
From-SVN: r156408
|
|
section.
* MAINTAINERS: Move my Embecosm email address into the
write-after-approval section.
(paperwork is in place since November)
From-SVN: r156400
|
|
From-SVN: r156260
|
|
PR libstdc++/36101, PR libstdc++/42813
* configure.ac (bootstrap_target_libs): Make inclusion of
target-libgomp conditional on libgomb being in target_configdirs.
* configure: Regenerate.
From-SVN: r156218
|
|
PR libstdc++/36101, PR libstdc++/42813
* configure.ac (bootstrap_target_libs): Include target-libgomp.
* configure: Regenerate.
From-SVN: r156189
|
|
PR libstdc++/36101, PR libstdc++/42813
[toplevel]:
* configure.ac (target_configdirs): Substitute.
* Makefile.def: Bootstrap target module libgomp.
Add dependency of all-target-libstdc++-v3 on configure-target-libgomp.
* Makefile.tpl (TARGET_CONFIGDIRS): New makefile variable.
(BASE_TARGET_EXPORTS): Export TARGET_CONFIGDIRS.
* configure, Makefile.in: Regenerate.
libstdc++-v3:
* acinclude.m4: (enable_parallel): Test ${TARGET_CONFIGDIRS} instead of
loking for omp.h .
* configure: Regenerate.
From-SVN: r156172
|
|
2010-01-20 Eric B. Weddington <eric.weddington@atmel.com>
* MAINTAINERS (CPU Port Maintainers): Add myself for avr port.
From-SVN: r156107
|
|
* MAINTAINERS: Adjust my details.
From-SVN: r156104
|
|
From-SVN: r156004
|
|
From-SVN: r155941
|
|
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r155938
|
|
2010-01-11 Richard Guenther <rguenther@suse.de>
PR lto/41569
* Makefile.def (all-lto-plugin): Depend on all-gcc.
* Makefile.in: Regenerated.
lto-plugin/
* Makefile.am: Disable dependencies.
* Makefile.in: Regenerated.
From-SVN: r155809
|