1. 12 Aug, 2011 1 commit
  2. 06 Aug, 2011 1 commit
  3. 01 Aug, 2011 1 commit
  4. 26 Jul, 2011 2 commits
  5. 22 Jul, 2011 3 commits
    • re PR target/49817 (libiberty/stack-limit.c causes a bootstrap failure on all FreeBSD targets) · a0a22423
      	PR target/49817
      	* stack-limit.c: Include <stdint.h>.
      
      From-SVN: r176662
      Gerald Pfeifer committed
    • re PR c++/49756 (g++ ICE) · 679debee
      	PR c++/49756
      	* libiberty.h (stack_limit_increase): New prototype.
      
      	* stack-limit.c: New file.
      	* Makefile.in: Regenerate deps.
      	(CFILES): Add stack-limit.c.
      	(REQUIRED_OFILES): Add ./stack-limit.$(objext).
      	* configure.ac (checkfuncs): Add getrlimit and setrlimit.
      	(AC_CHECK_FUNCS): Likewise.
      	* configure: Regenerated.
      	* config.in: Regenerated.
      
      	* gcc.c (main): Call stack_limit_increase (64MB).
      	* toplev.c (toplev_main): Likewise.
      
      From-SVN: r176622
      Jakub Jelinek committed
    • re PR c++/49756 (g++ ICE) · d423df48
      	PR c++/49756
      	* libiberty.h (stack_limit_increase): New prototype.
      
      	* stack-limit.c: New file.
      	* Makefile.in: Regenerate deps.
      	(CFILES): Add stack-limit.c.
      	(REQUIRED_OFILES): Add ./stack-limit.$(objext).
      	* configure.ac (checkfuncs): Add getrlimit and setrlimit.
      	(AC_CHECK_FUNCS): Likewise.
      	* configure: Regenerated.
      	* config.in: Regenerated.
      
      	* gcc.c (main): Call stack_limit_increase (64MB).
      	* toplev.c (toplev_main): Likewise.
      
      From-SVN: r176617
      Jakub Jelinek committed
  6. 04 Jul, 2011 1 commit
  7. 01 Jul, 2011 2 commits
    • Darwin has case-insensitive filesystems · 985b34c7
      HFS+, the FS on Darwin, is case insensitive. So this patch adjusts
      filename_cmp.c to ignore the casing when comparing filenames on Darwin.
      
      include/ChangeLog:
      
              * filenames.h (HAVE_CASE_INSENSITIVE_FILE_SYSTEM): Define
              on Darwin, as well as on the systems that use a DOS-like
              filesystem.
      
      libiberty/ChangeLog:
      
              * filename_cmp.c (filename_cmp, filename_ncmp): Add handling of
              HAVE_CASE_INSENSITIVE_FILE_SYSTEM.
      
      From-SVN: r175762
      Joel Brobecker committed
    • re PR debug/49408 (member function template id not matching linkage name) · cb0ad104
      libiberty/
      	PR debug/49408
      	* cp-demangle.c (d_print_comp): Suppress argument list for function
      	references by the '&' unary operator.  Keep also already processed
      	variant without the argument list.  Suppress argument list types for
      	function call used in an expression.
      	* testsuite/demangle-expected: Fix excessive argument list types in
      	`test for typed function in decltype'.  New testcase for no argument
      	list types printed.  3 new testcases for function references by the
      	'&' unary operator..
      
      From-SVN: r175761
      Jan Kratochvil committed
  8. 20 Jun, 2011 1 commit
  9. 13 Jun, 2011 3 commits
  10. 20 Apr, 2011 1 commit
    • remove useless if-before-free tests · 04695783
      Change "if (E) free (E);" to "free (E);" everywhere except in the
      libgo/, intl/, zlib/ and classpath/ directories.
      Also transform equivalent variants like
      "if (E != NULL) free (E);" and allow an extra cast on the
      argument to free.  Otherwise, the tested and freed "E"
      expressions must be identical, modulo white space.
      
      From-SVN: r172785
      Jim Meyering committed
  11. 10 Apr, 2011 1 commit
  12. 31 Mar, 2011 1 commit
  13. 28 Feb, 2011 1 commit
    • re PR debug/28047 (DWARF output_file_names should really understand DOS pathnames) · 94369251
      2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
      
      	PR debug/28047
      	* dwarf2out.c (file_table_eq): Use filename_cmp instead of strcmp.
      	(lookup_filename): Likewise.
      	* final.c (remap_debug_filename): Use filename_ncmp instead of
      	strncmp.
      
      2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
      
      	* filename_cmp.c (filename_ncmp): New function.
      	* functions.texi: Regenerated.
      
      2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
      
      	* filenames.h (filename_ncmp): New prototype.
      
      From-SVN: r170570
      Kai Tietz committed
  14. 03 Feb, 2011 1 commit
    • libiberty: documentation markup and order fixes. · 996c0cb0
      libiberty/:
      	* splay-tree.c: Escape wrapping newlines in texinfo markup
      	with '@', to fix function declaration output rendering.
      	* gather-docs: Relax and improve macro name matching to actually
      	match all current names and to allow input line wrapping.
      	* bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c,
      	hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c,
      	memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c,
      	pexecute.txh, random.c, setenv.c, setproctitle.c,
      	simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c,
      	strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c:
      	Wrap long texinfo input lines.
      	* functions.texi: Regenerate.
      
      From-SVN: r169783
      Ralf Wildenhues committed
  15. 18 Jan, 2011 1 commit
  16. 03 Jan, 2011 1 commit
  17. 08 Dec, 2010 1 commit
  18. 29 Nov, 2010 1 commit
  19. 21 Nov, 2010 1 commit
  20. 20 Nov, 2010 1 commit
    • PR other/46202: implement install-strip. · 455c8f48
      /:
      	PR other/46202
      	* configure.ac: Fix just-built in-tree STRIP name to be
      	binutils/strip-new.
      	* configure: Regenerate.
      	* Makefile.def (install-strip-gcc, install-strip-binutils)
      	(install-strip-opcodes, install-strip-ld, install-strip-itcl)
      	(install-strip-sid): Mirror dependencies on non-strip variants
      	of these targets on the respective -strip prerequisites.
      	* Makefile.tpl (install-strip, install-strip-host)
      	(install-strip-target): New targets.
      	(install-strip-[+module+], install-strip-target-[+module+]):
      	New targets.
      	* Makefile.in: Regenerate.
      
      gcc/:
      	PR other/46202
      	* Makefile.in (install_sh, INSTALL_STRIP_PROGRAM): New
      	variables.
      	(AR_FOR_TARGET, RANLIB_FOR_TARGET, STRIP_FOR_TARGET): Fix
      	shell quoting.
      	(STRIP_FOR_TARGET): Look for in-tree strip under name strip-new.
      	(install-strip): New target.
      	(STRIPPROG): New variable, exported if STRIP is set.
      	* doc/install.texi (Final install): Minor markup and code style
      	fixes.  Document install-strip target.
      
      fixincludes/:
      	PR other/46202
      	* Makefile.in (install-strip): New phony target.
      	(all, check, install): Also mark as phony.
      
      libgcc/:
      	PR other/46202
      	* Makefile.in (install-strip): New phony target.
      
      libiberty/:
      	PR other/46202
      	* Makefile.in (install-strip): New phony target.
      	(install): Also mark as phony.
      
      gnattools/:
      	PR other/46202
      	* Makefile.in (install-strip): New phony target.
      	(check, installcheck, info, dvi, pdf, html, install)
      	(install-info, install-pdf, install-html, mostlyclean)
      	(clean, distclean, maintainer-clean): Mark phony.
      
      libada/:
      	PR other/46202
      	* Makefile.in (install-strip): New phony target.
      	(check, installcheck, info, dvi, pdf, html, install)
      	(install-info, install-pdf, install-html, mostlyclean)
      	(clean, distclean, maintainer-clean): Mark phony.
      
      From-SVN: r166980
      Ralf Wildenhues committed
  21. 17 Nov, 2010 1 commit
    • simple-object.h (simple_object_attributes_merge): Declare, replacing… · d82f74d3
      simple-object.h (simple_object_attributes_merge): Declare, replacing simple_object_attributes_compare.
      
      include/:
      	* simple-object.h (simple_object_attributes_merge): Declare,
      	replacing simple_object_attributes_compare.
      libiberty/:
      	* simple-object.c (simple_object_attributes_merge): Rename from
      	simple_object_attributes_compare.  Call merge field.
      	* simple-object-common.h (struct simple_object_functions): Rename
      	attributes_compare field to attribute_merge.
      	* simple-object-elf.c (EM_SPARC): Define.
      	(EM_SPARC32PLUS): Define.
      	(simple_object_elf_attributes_merge): Renamed from
      	simple_object_elf_attributes_compare.  Permit EM_SPARC and
      	EM_SPARC32PLUS objects to be merged.
      	(simple_object_elf_functions): Update function name.
      	* simple-object-coff.c (simple_object_coff_attributes_merge):
      	Rename from simple_object_coff_attributes_compare.
      	(simple_object_coff_functions): Update function name.
      	* simple-object-mach-o.c (simple_object_mach_o_attributes_merge):
      	Renamed from simple_object_mach_o_attributes_compare.
      	(simple_object_mach_o_functions): Update function name.
      gcc/lto/:
      	* lto-object.c (lto_obj_file_open): Call
      	simple_object_attributes_merge rather than
      	simple_object_attributes_compare.
      
      From-SVN: r166848
      Ian Lance Taylor committed
  22. 16 Nov, 2010 1 commit
  23. 14 Nov, 2010 1 commit
  24. 13 Nov, 2010 1 commit
  25. 04 Nov, 2010 1 commit
    • Use spawnve on cygwin. · 3b63ca7e
      	* configure.ac (AC_CHECK_HEADERS): Add process.h.
      	(checkfuncs): Add dup3, spawnve, spawnvpe; sort the list.
      	(AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe.
      	* configure, config.in: Rebuild.
      	* pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function.
      	[HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions.
      
      From-SVN: r166339
      Richard Henderson committed
  26. 02 Nov, 2010 1 commit
    • simple-object.h: New file. · 1cfabf34
      include/:
      	* simple-object.h: New file.
      libiberty/:
      	* simple-object.c: New file.
      	* simple-object-common.h: New file.
      	* simple-object-elf.c: New file.
      	* simple-object-mach-o.c: New file.
      	* simple-object-coff.c: New file.
      	* simple-object.txh: New file.
      	* configure.ac: Add AC_TYPE_SSIZE_T.
      	* Makefile.in: Rebuild dependencies.
      	(CFILES): Add simple-object.c, simple-object-coff,
      	simple-object-elf.c, and simple-object-mach-o.c.
      	(REQUIRED_OFILES): Add corresponding object files.
      	* configure: Rebuild.
      	* config.in: Rebuild.
      	* functions.texi: Rebuild.
      
      Co-Authored-By: Dave Korn <dave.korn.cygwin@gmail.com>
      Co-Authored-By: Iain Sandoe <iains@gcc.gnu.org>
      
      From-SVN: r166185
      Ian Lance Taylor committed
  27. 29 Oct, 2010 1 commit
  28. 26 Oct, 2010 1 commit
  29. 07 Oct, 2010 1 commit
  30. 06 Oct, 2010 1 commit
    • [PATCH] Report LTO phase in lto1 process name v2 · 6e9bd0f8
      On larger parallel WHOPR builds I find it useful to see in top which
      phase a given lto1 is in.
      
      Set the process name to lto1-wpa, lto1-ltrans, lto1-lto depending
      on the current mode.
      
      This is currently only implemented for Linux and only
      using the "comm" process name, which is reported in top.
      
      v2: Moved function to libiberty, renamed setproctitle to match
      BSD. In theory it should pick up BSD's libc function for this
      on a BSD system, but I haven't tested this.
      
      gcc/lto/
      
      2010-10-06  Andi Kleen <ak@linux.intel.com>
      
      	* lto.c (lto_process_name): Add.
      	(lto_main): Call lto_process_name.
      
      include/
      
      2010-10-06  Andi Kleen <ak@linux.intel.com>
      
      	* libiberty.h (setproctitle): Add prototype.
      
      libiberty/
      
      2010-10-06  Andi Kleen <ak@linux.intel.com>
      
      	* Makefile.in (CFILES): Add setproctitle.
      	(CONFIGURED_OFILES): Add setproctitle.
      	(setproctitle): Add rule.
      	* config.in: Regenerate.
      	* configure: Regenerate.
      	* configure.ac: Add checks for prctl PR_SET_NAME and setproctitle.
      	* setproctitle.c: Add file.
      	* functions.texi: Regenerate.
      
      From-SVN: r165066
      Andi Kleen committed
  31. 22 Sep, 2010 1 commit
  32. 10 Sep, 2010 1 commit
  33. 08 Sep, 2010 1 commit
    • re PR bootstrap/44001 (.o vs. obj => @OBJEXT@ and $ac_objext) · 16f60fcb
      2010-09-08  Tristan Gingold  <gingold@adacore.com>
      
      	PR 44001
      	* maint-tool (missing): Fix pattern for object file.
      	(deps): Use $(objext) for object extension.
      	* Makefile.in (objext): New variable.
      	Replace all occurences of .o with .$(objext)
      	Regenerate with maint-deps
      	* configure.ac (pexecute): Set to the basename.
      	* configure: Regenerate.
      
      From-SVN: r163989
      Tristan Gingold committed
  34. 20 Aug, 2010 1 commit