1. 18 May, 2010 1 commit
    • add lto to powerpc-*darwin and enable for 32bit darwin · 02540df4
      Steven Bosscher  <steven@gcc.gnu.org>
      ChangeLog:
      	* configure.ac (--enable-lto): All *-apple-darwin* now support LTO.
      	* configure: Regenerate.
      
      gcc/ChangeLog:
      	* config.gcc (powerpc-*-darwin*, powerpc64-*-darwin*): Add
      	lto-macho as lto_binary_reader.
      
      	* darwin.c (darwin_asm_named_section): Do not add assembler comment
      	after .section directive; just print it before the directive instead.
      
      
      
      M    gcc/config.gcc
      M    gcc/config/darwin.c
      M    ChangeLog
      M    gcc/ChangeLog
      
      From-SVN: r159527
      Steven Bosscher committed
  2. 07 May, 2010 1 commit
    • configure.ac (--enable-lto): Add x86_64-apple-darwin* as a platform that supports LTO. · c082f9f3
      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
      Steven Bosscher committed
  3. 06 May, 2010 1 commit
  4. 27 Apr, 2010 2 commits
    • configure.ac (--enable-gold): Support both, both/gold and both/bfd to add gold… · 38e3d868
      configure.ac (--enable-gold): Support both, both/gold and both/bfd to add 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
      Roland McGrath committed
    • Missing file from last commit! · 9a02962b
      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.
      
      From-SVN: r158763
      Dave Korn committed
  5. 20 Apr, 2010 1 commit
  6. 17 Apr, 2010 1 commit
  7. 16 Apr, 2010 1 commit
    • configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx separately. · 8ccb78f2
      	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
      Rainer Orth committed
  8. 14 Apr, 2010 1 commit
  9. 13 Apr, 2010 1 commit
  10. 02 Apr, 2010 2 commits
  11. 01 Apr, 2010 1 commit
  12. 31 Mar, 2010 1 commit
  13. 23 Mar, 2010 1 commit
  14. 19 Mar, 2010 1 commit
  15. 01 Mar, 2010 1 commit
  16. 17 Feb, 2010 1 commit
  17. 15 Feb, 2010 1 commit
  18. 31 Jan, 2010 1 commit
  19. 25 Jan, 2010 1 commit
  20. 23 Jan, 2010 1 commit
  21. 22 Jan, 2010 1 commit
    • PR libstdc++/36101, PR libstdc++/42813 · aae29963
      	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
      Joern Rennecke committed
  22. 11 Jan, 2010 1 commit
  23. 07 Jan, 2010 1 commit
  24. 02 Jan, 2010 1 commit
  25. 06 Dec, 2009 1 commit
  26. 30 Nov, 2009 1 commit
  27. 25 Nov, 2009 1 commit
  28. 22 Nov, 2009 1 commit
  29. 16 Nov, 2009 1 commit
    • configure.ac: Add libelf to host_libs. · f61428ed
      * configure.ac: Add libelf to host_libs.  Enable in-tree configury
      of ppl and cloog.  Fix in-tree configury of libelf, skip tests.
      Fix portability of test of C++ as bootstrap language.  Add
      ppl/src/ppl-config.o to the bootstrap compare exclusion list.
      * configure: Rebuild.
      * Makefile.def: Drop host and target settings from gmp, mpfr, ppl,
      and cloog.  Fix in-tree ppl configuration.  Introduce libelf
      in-tree building.
      * Makefile.tpl (POSTSTAGE1_CXX_EXPORT): New.
      (POSTSTAGE1_HOST_EXPORTS): Use it.
      (STAGE[+id+]_CXXFLAGS): New.
      (BASE_FLAGS_TO_PASS): Pass it down.
      (configure-stage[+id+]-[+prefix+][+module+]): Use it.  Add
      extra_exports.
      (all-stage[+id+]-[+prefix+][+module+]): Likewise.
      (configure-[+prefix+][+module+], all-[+prefix+][+module+]): Add
      extra_exports.
      * Makefile.in: Rebuild.
      
      From-SVN: r154211
      Alexandre Oliva committed
  30. 06 Nov, 2009 1 commit
  31. 30 Oct, 2009 1 commit
  32. 23 Oct, 2009 2 commits
  33. 22 Oct, 2009 1 commit
  34. 21 Oct, 2009 1 commit
  35. 13 Oct, 2009 1 commit
  36. 03 Oct, 2009 1 commit
  37. 26 Sep, 2009 1 commit