1. 13 Aug, 2014 1 commit
  2. 12 Aug, 2014 1 commit
  3. 07 Aug, 2014 1 commit
    • Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ... · 4303c581
      	* Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
      	(LIBGCOV_DRIVER): ... to here.
      	* libgcov.h (gcov_do_dump): New #define.
      	(struct gcov_root): New.
      	(__gcov_root): New declaration.
      	(__gcov_dump_one): Declare.
      	* libgcov-driver.c (gcov_list, gcov_dump_complete,
      	run_accounted): Delete.
      	(gcov_compute_histogram): Add LIST argument, adjust.
      	(compute_summary): Adjust gcov_compute_histogram call.
      	(gcov_do_dump): Not hidden, static in libgcov.
      	(gcov_clear): Move  to interface.c.
      	(__gcov_dump_one): New, broken out of ...
      	(gcov_exit): ... here.  Make static.
      	(__gcov_root): New.
      	(__gcov_init): Adjust.
      	* libgcov-interface.c (gcov_clear, gcov_exit): Remove
      	declarations.
      	(__gcov_flush): Use __gcov_dump_one and __gcov_reset.
      	(gcov_clear): Moved from driver.c.   Add LIST argument.
      	(__gcov_reset): Adjust for changed interfaces.
      	(__gcov_fork): Remove local declaration of __gcov_flush_mx.
      
      From-SVN: r213719
      Nathan Sidwell committed
  4. 05 Aug, 2014 1 commit
  5. 04 Aug, 2014 1 commit
    • re PR middle-end/60102 (powerpc fp-bit ices at dwf_regno) · 23742a9e
      	PR target/60102
      
      [libgcc]
      2014-07-31  Rohit  <rohitarulraj@freescale.com>
      	* config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
      	  based on change in SPE high register numbers and 3 HTM registers.
      
      [gcc]
      2014-07-31  Rohit  <rohitarulraj@freescale.com>
      	* config/rs6000/rs6000.c
      	  (rs6000_reg_names) : Add SPE high register names.
      	  (alt_reg_names) : Likewise.
      	  (rs6000_dwarf_register_span) : For SPE high registers, replace
      	  dwarf register numbers with GCC hard register numbers.
      	  (rs6000_init_dwarf_reg_sizes_extra) : Likewise.
      	  (rs6000_dbx_register_number): For SPE high registers, return dwarf
      	  register number for the corresponding GCC hard register number.
      
      	* config/rs6000/rs6000.h
      	  (FIRST_PSEUDO_REGISTER) : Update based on 32 newly added GCC hard
      	  register numbers for SPE high registers.
      	  (DWARF_FRAME_REGISTERS) :  Likewise.
      	  (DWARF_REG_TO_UNWIND_COLUMN) : Likewise.
      	  (DWARF_FRAME_REGNUM) : Likewise.
      	  (FIXED_REGISTERS) : Likewise.
      	  (CALL_USED_REGISTERS) : Likewise.
      	  (CALL_REALLY_USED_REGISTERS) : Likewise.
      	  (REG_ALLOC_ORDER) : Likewise.
      	  (enum reg_class) : Likewise.
      	  (REG_CLASS_NAMES) : Likewise.
      	  (REG_CLASS_CONTENTS) : Likewise.
      	  (SPE_HIGH_REGNO_P) : New macro to identify SPE high registers.	
      
      	* gcc.target/powerpc/pr60102.c: New testcase.
      
      From-SVN: r213596
      Rohit Arul Raj committed
  6. 01 Aug, 2014 1 commit
  7. 31 Jul, 2014 1 commit
    • ibm-ldouble.c (typedef union longDblUnion): Delete. · 6adaaa1d
      	* config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
      	(pack_ldouble): New function.
      	(__gcc_qadd): Use it.
      	(__gcc_qmul): Likewise.
      	(__gcc_qdiv): Likewise.
      	(__gcc_qneg): Likewise.
      	(__gcc_stoq): Likewise.
      	(__gcc_dtoq): Likewise.
      
      Co-Authored-By: Peter Bergner <bergner@vnet.ibm.com>
      
      From-SVN: r213380
      Alan Modra committed
  8. 30 Jul, 2014 1 commit
    • s390.c (s390_emit_tpf_eh_return): Pass original return address as second… · 87cb0c0c
      s390.c (s390_emit_tpf_eh_return): Pass original return address as second parameter to __tpf_eh_return routine.
      
      gcc/
      
      2014-07-30  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
      
      	* config/s390/s390.c (s390_emit_tpf_eh_return): Pass original return
      	address as second parameter to __tpf_eh_return routine.
      
      libgcc/
      
      2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
      
      	* config/s390/tpf-unwind.h: Include <stdbool.h>.
      	(__tpf_eh_return): Add original return address as second parameter.
      	Handle cases where unwinder routines were called directly, instead
      	of from within the C++ library.
      
      From-SVN: r213305
      Ulrich Weigand committed
  9. 29 Jul, 2014 1 commit
    • libgcov.h: Move renaming of entry points to lib gcov specific portion. · 19926161
      	libgcc/
      	* libgcov.h: Move renaming of entry points to lib gcov specific
      	portion.
      	(gcov_do_dump): New rename.
      	(gcov_rewrite): Remove inline, make HIDDEN.
      	* libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
      	(gcov_exit_compute_summary): Rename to ...
      	(compute_summary): ... here.  Add LIST argument.
      	(gcov_exit_merge_gcda): Rename to ...
      	(merge_one_data): ... here.
      	(gcov_exit_write_gcda): Rename to ...
      	(write_one_data): ... here.
      	(gcov_exit_merge_summary): Rename to ...
      	(merge_summary): Add RUN_COUNTED argument.
      	(gcov_exit_dump_gcov): Rename to ...
      	(dump_one_gcov): Add RUN_COUNTED argument.
      	(gcov_do_dump): New function, broken out of ...
      	(gcov_exit): ... here.  Call it.
      
      	gcc/
      	* gcov-io.c (gcov_var): Make hidden.
      	* gcov-tool.c (gcov_list, gcov_exit): Remove declarations.
      	(gcov_do_dump): Declare.
      	(gcov_output_files): Call gcov_do_dump, not gcov_exit).
      
      From-SVN: r213188
      Nathan Sidwell committed
  10. 28 Jul, 2014 1 commit
  11. 27 Jul, 2014 2 commits
    • Add moxiebox target. · 17522262
      From-SVN: r213098
      Anthony Green committed
    • libgcov-driver.c (struct gcov_filename_aux): Rename ... · 6dc33097
      	* libgcov-driver.c (struct gcov_filename_aux): Rename ...
      	(struct gcov_filename): ... here.  Include buffer and max length
      	fields.
      	(gcov_max_filename): Remove.
      	(gi_filename): Remove.
      	(gcov_exit_compute_summary): Compute max filename here.
      	(gcov_exit_merge_gcda): Add filename parm, adjust.
      	(gcov_exit_merge_summary): Likewise.
      	(gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
      	(gcov_exit): Likewise.
      	(__gcov_init): Don't calculate max length here.
      	* libgcov_util.c (max_filename_len): Remove.
      	(read_gcda_file): Don't calculate max length here.
      	(gcov_read_profile_dir): Don't propagate here.
      	* libgcov-driver-system.c (alloc_filename_struct): Adjust for
      	struct gcov_filename changes.
      	(gcov_exit_open_gcda_file): Likewise.
      
      From-SVN: r213092
      Nathan Sidwell committed
  12. 25 Jul, 2014 1 commit
    • libgcov-driver.c (set_gcov_dump_complete, [...]): Remove global functions… · 770f687d
      libgcov-driver.c (set_gcov_dump_complete, [...]): Remove global functions polluting user's namespace.
      
      	* libgcov-driver.c (set_gcov_dump_complete,
      	reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
      	functions polluting user's namespace.
      	(gcov_exit): Set variable directly.
      	(gcov_clear): Reset variable directly.
      	* libgcov-interface.c (get_gcov_dymp_complete,
      	reset_gov_dump_complete): Remove declarations.
      	(__gcov_reset, __gcov_dump): Don't call them.
      
      From-SVN: r213058
      Nathan Sidwell committed
  13. 24 Jul, 2014 1 commit
  14. 23 Jul, 2014 2 commits
  15. 17 Jul, 2014 1 commit
  16. 14 Jul, 2014 1 commit
  17. 11 Jul, 2014 2 commits
    • libgcov-util.c (gcov_max_filename): Fix declartion. · d5313205
      2014-07-11  Rong Xu  <xur@google.com>
      
      	* libgcov-util.c (gcov_max_filename): Fix declartion.
      
      From-SVN: r212463
      Rong Xu committed
    • Add gcov-tool: an offline gcda profile processing tool Support. · c77556a5
      2014-07-10  Rong Xu  <xur@google.com>
      
      	Add gcov-tool: an offline gcda profile processing tool
      	Support.
      	* gcc/gcov-io.c (gcov_position): Make avaialble to gcov-tool.
      	(gcov_is_error): Ditto.
      	(gcov_read_string): Ditto.
      	(gcov_read_sync): Ditto.
      	* gcc/gcov-io.h: Move counter defines to gcov-counter.def.
      	* gcc/gcov-dump.c (tag_counters): Use gcov-counter.def.
      	* gcc/coverage.c: Ditto.
      	* gcc/gcov-tool.c: Offline gcda profile processing tool.
              (unlink_gcda_file): Remove one gcda file.
      	(unlink_profile_dir): Remove gcda files from the profile path.
      	(gcov_output_files): Output gcda files to an output dir.
      	(profile_merge): Merge two profiles in directory.
      	(print_merge_usage_message): Print merge usage.
      	(merge_usage): Print merge usage and exit.
      	(do_merge): Driver for profile merge sub-command.
      	(profile_rewrite): Rewrite profile.
      	(print_rewrite_usage_message): Print rewrite usage.
      	(rewrite_usage): Print rewrite usage and exit.
      	(do_rewrite): Driver for profile rewrite sub-command.
      	(print_usage): Print gcov-info usage and exit.
      	(print_version): Print gcov-info version.
      	(process_args): Process arguments.
      	(main): Main routine for gcov-tool.
      	* gcc/Makefile.in: Build and install gcov-tool.
      	* gcc/gcov-counter.def: New file split from gcov-io.h.
      	* libgcc/libgcov-driver.c (gcov_max_filename): Make available
              to gcov-tool.
      	* libgcc/libgcov-merge.c (__gcov_merge_add): Replace
              gcov_read_counter() with a Macro.
      	(__gcov_merge_ior): Ditto.
      	(__gcov_merge_time_profile): Ditto.
      	(__gcov_merge_single): Ditto.
      	(__gcov_merge_delta): Ditto.
      	* libgcc/libgcov-util.c (void gcov_set_verbose): Set the verbose flag
              in the utility functions.
      	(set_fn_ctrs): Utility function for reading gcda files to in-memory
              gcov_list object link lists.
      	(tag_function): Ditto.
      	(tag_blocks): Ditto.
      	(tag_arcs): Ditto.
      	(tag_lines): Ditto.
      	(tag_counters): Ditto.
      	(tag_summary): Ditto.
      	(read_gcda_finalize): Ditto.
      	(read_gcda_file): Ditto.
      	(ftw_read_file): Ditto.
      	(read_profile_dir_init): Ditto.
      	(gcov_read_profile_dir): Ditto.
      	(gcov_read_counter_mem): Ditto.
      	(gcov_get_merge_weight): Ditto.
      	(merge_wrapper): A wrapper function that calls merging handler.
      	(gcov_merge): Merge two gcov_info objects with weights.
      	(find_match_gcov_info): Find the matched gcov_info in the list.
      	(gcov_profile_merge): Merge two gcov_info object lists.
      	(__gcov_add_counter_op): Process edge profile counter values.
      	(__gcov_ior_counter_op): Process IOR profile counter values.
      	(__gcov_delta_counter_op): Process delta profile counter values.
      	(__gcov_single_counter_op): Process single  profile counter values.
      	(fp_scale): Callback function for float-point scaling.
      	(int_scale): Callback function for integer fraction scaling. 
      	(gcov_profile_scale): Scaling profile counters.
      	(gcov_profile_normalize): Normalize profile counters.
      	* libgcc/libgcov.h: Add headers and functions for gcov-tool use.
              (gcov_get_counter): New.
              (gcov_get_counter_target): Ditto.
              (struct gcov_info): Make the functions field mutable in gcov-tool
              compilation.
      	* gcc/doc/gcc.texi: Include gcov-tool.texi.
      	* gcc/doc/gcov-tool.texi: Document for gcov-tool.
      
      From-SVN: r212448
      Rong Xu committed
  18. 23 Jun, 2014 1 commit
  19. 18 Jun, 2014 9 commits
  20. 10 Jun, 2014 1 commit
    • bid128_div.c (BID128_FUNCTION_ARG2): Remove unused variable 'Ql'. · 0b6df824
      	* bid128_div.c (BID128_FUNCTION_ARG2): Remove unused variable 'Ql'.
      	Call __mul_128x128_high instead of __mul_128x128_full.
      	(TYPE0_FUNCTION_ARGTYPE1_ARGTYPE2): Ditto.
      	(BID128_FUNCTION_ARGTYPE1_ARG128): Ditto.
      	(BID128_FUNCTION_ARG128_ARGTYPE2): Ditto.
      	* bid64_div.c (TYPE0_FUNCTION_ARGTYPE1_ARG128): Ditto.
      	(TYPE0_FUNCTION_ARG128_ARGTYPE2): Ditto.
      	(TYPE0_FUNCTION_ARG128_ARG128): Ditto.
      
      From-SVN: r211424
      Uros Bizjak committed
  21. 22 May, 2014 2 commits
    • t-msp430 (HOST_LIBGCC2_CFLAGS): Add -mhwmult=none. · 161c9312
      	* config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
      	-mhwmult=none.
      
      From-SVN: r210811
      Nick Clifton committed
    • gcov-io.c (gcov_position): Use gcov_nonruntime_assert. · e3f0315f
      2014-05-22  Teresa Johnson  <tejohnson@google.com>
      
      	* gcov-io.c (gcov_position): Use gcov_nonruntime_assert.
      	(gcov_is_error): Remove gcc_assert from IN_LIBGCOV code.
      	(gcov_rewrite): Use gcov_nonruntime_assert.
      	(gcov_open): Ditto.
      	(gcov_write_words): Ditto.
      	(gcov_write_length): Ditto.
      	(gcov_read_words): Use gcov_nonruntime_assert, and remove
      	gcc_assert from IN_LIBGCOV code.
      	(gcov_read_summary): Use gcov_error to flag profile corruption.
      	(gcov_sync): Use gcov_nonruntime_assert.
      	(gcov_seek): Remove gcc_assert from IN_LIBGCOV code.
      	(gcov_histo_index): Use gcov_nonruntime_assert.
      	(static void gcov_histogram_merge): Ditto.
      	(compute_working_sets): Ditto.
      	* gcov-io.h (gcov_nonruntime_assert): Define.
      	(gcov_error): Define for !IN_LIBGCOV
      
      
      	* libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
      	include.
      
      From-SVN: r210805
      Teresa Johnson committed
  22. 21 May, 2014 2 commits
    • config.gcc (*-*-dragonfly*): New target. · dbed5a9b
      2014-05-21  John Marino  <gnugcc@marino.st>
      
      gcc:
      
      	* config.gcc (*-*-dragonfly*): New target.
      	* configure.ac: Detect dl_iterate_phdr (*freebsd*, *dragonfly*).
      	* configure: Regenerate.
      	* config/dragonfly-stdint.h: New.
      	* config/dragonfly.h: New.
      	* config/dragonfly.opt: New.
      	* config/i386/dragonfly.h: New.
      	* ginclude/stddef.h: Detect _PTRDIFF_T_DECLARED for DragonFly.
      
      include:
      
      	* liberty.h: Use basename function on DragonFly.
      
      libcilkrts:
      
      	* runtime/os-unix.c (__DragonFly__): New target.
      
      libgcc:
      
      	* config.host (*-*-dragonfly*): New target.
      	* crtstuff.c: Make dl_iterate_support generic on *bsd.
      	* enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
      	* unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
      	* config/i386/dragonfly-unwind.h: New.
      
      libitm:
      
      	* configure.tgt (*-*-dragonfly*): New target.
      
      libstdc++-v3:
      
      	* acinclude.m4 (*-*-dragonfly*): New target.
      	* configure: Regenerate.
      	* configure.host (*-*-dragonfly*): New target.
      	* config/locale/dragonfly/c_locale.cc: New.
      	* config/locale/dragonfly/ctype_members.cc: New.
      	* config/os/bsd/dragonfly/ctype_base.h: New.
      	* config/os/bsd/dragonfly/ctype_configure_char.cc: New.
      	* config/os/bsd/dragonfly/ctype_inline.h: New.
      	* config/os/bsd/dragonfly/os_defines.h: New.
      
      From-SVN: r210694
      John Marino committed
    • re PR libgcc/60166 (ARM default NAN encoding violates EABI) · 1ec380e5
      	PR libgcc/60166
      	* config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
      	(_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
      
      From-SVN: r210668
      Maciej W. Rozycki committed
  23. 13 May, 2014 1 commit
    • Enable Java on Cygwin-64 · 54fde020
      Currently it is not possible to build GCC's libjava support on Cygwin-64.
      
      This patch fixes the current build-problems on Cygwin-64 and the most
      fundamental bugs on that platform.
      
      Note you must still add --enable-threads=posix to successfully build the
      java language support.
      
      
      boehm-gc/ChangeLog:
      
      2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              Fix current cygwin-64 build problems.
              * include/gc_config_macros.h (GC_PTHREADS): Use __CYGWIN__ instead
              of __CYGWIN32__ here.
              * win32_threads.c (GC_push_all_stacks): Push all X86_64 registers.
              (GC_get_thread_stack_base): Get the stack base for X86_64.
      
      libffi/ChangeLog:
      
      2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              Fix current cygwin-64 build problems.
              * src/java_raw_api.c: Remove if !defined(FFI_NO_RAW_API).
              * src/x86/ffi.c: Add if defined(__CYGWIN__).
              * src/x86/win64.S (ffi_closure_win64, ffi_call_win64): Added
              handling for FFI_TYPE_UINT64, FFI_TYPE_POINTER and FFI_TYPE_INT.
              Added SEH information.  Fixed formatting.
      
      libgcc/ChangeLog:
      
      2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
              implementation.
      
      libjava/ChangeLog:
      
      2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              Fix current cygwin-64 build problems.
              * configure.host: Added handling for x86_64-*-cygwin/mingw.
              * boehm.cc (_Jv_GCAttachThread, _Jv_GCDetachThread): Don't compile if
              GC_WIN32_THREADS is defined.
              * java/lang/natClass.cc (_Jv_InterfaceAssignableFrom): Rename interface
              to source_interface.
      
      libjava/classpath/ChangeLog:
      
      2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              Fix current cygwin-64 build problems.
              * native/fdlibm/mprec.c (_REENT_CHECK_MP, _REENT_MP_FREELIST,
              _REENT_MP_P5S, __ULong, __Long): Undefine previous definitions.
      
      From-SVN: r210386
      Bernd Edlinger committed
  24. 12 May, 2014 1 commit
    • arm.h (License): Add GCC Runtime Library Exception. · 999db125
      gcc/
      	* config/arm/arm.h (License): Add GCC Runtime Library Exception.
      	* config/arm/aout.h (License): Same.
      	* config/arm/bpabi.h (License): Same.
      	* config/arm/elf.h (License): Same.
      	* config/arm/linux-elf.h (License): Same.
      	* config/arm/linux-gas.h (License): Same.
      	* config/arm/netbsd-elf.h (License): Same.
      	* config/arm/uclinux-eabi.h (License): Same.
      	* config/arm/uclinux-elf.h (License): Same.
      	* config/arm/vxworks.h (License): Same.
      
      libgcc/
      	* config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
      
      From-SVN: r210322
      Georg-Johann Lay committed
  25. 08 May, 2014 1 commit
  26. 30 Apr, 2014 1 commit
  27. 25 Apr, 2014 1 commit