1. 15 Jan, 2015 1 commit
  2. 05 Jan, 2015 2 commits
    • Update copyright years. · 5624e564
      From-SVN: r219188
      Jakub Jelinek committed
    • gcc.c (process_command): Update copyright notice dates. · b67cd4e3
      gcc/
      	* gcc.c (process_command): Update copyright notice dates.
      	* gcov-dump.c: Ditto.
      	* gcov.c: Ditto.
      	* doc/cpp.texi: Bump @copying's copyright year.
      	* doc/cppinternals.texi: Ditto.
      	* doc/gcc.texi: Ditto.
      	* doc/gccint.texi: Ditto.
      	* doc/gcov.texi: Ditto.
      	* doc/install.texi: Ditto.
      	* doc/invoke.texi: Ditto.
      gcc/fortran/
      	* gfortranspec.c (lang_specific_driver): Update copyright notice
      	dates.
      	* gfc-internals.texi: Bump @copying's copyright year.
      	* gfortran.texi: Ditto.
      	* intrinsic.texi: Ditto.
      	* invoke.texi: Ditto.
      gcc/go/
      	* gccgo.texi: Bump @copyrights-go year.
      gcc/java/
      	* jcf-dump.c (version): Update copyright notice dates.
      libgomp/
      	* libgomp.texi: Bump @copying's copyright year.
      libquadmath/
      	* libquadmath.texi: Bump @copying's copyright year.
      libitm/
      	* libitm.texi: Bump @copying's copyright year.
      gcc/ada/
      	* gnat_ugn.texi: Bump @copying's copyright year.
      libjava/
      	* classpath/gnu/java/rmi/registry/RegistryImpl.java (version): Update
      	copyright notice dates.
      	* classpath/tools/gnu/classpath/tools/orbd/Main.java (run): Ditto.
      	* gnu/gcj/convert/Convert.java (version): Update copyright notice
      	dates.
      	* gnu/gcj/tools/gcj_dbtool/Main.java (main): Ditto.
      
      From-SVN: r219187
      Jakub Jelinek committed
  3. 12 Dec, 2014 1 commit
  4. 03 Dec, 2014 1 commit
  5. 21 Nov, 2014 1 commit
    • Always use PIC option with -shared in libtool · a699d672
      Libtool needs to pass PIC option -shared when creating shared object to
      link regular object files with slim-lto archive.
      
      	PR bootstrap/63784
      	* libtool.m4: Add $pic_flag with -shared.
      
      boehm-gc/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      gcc/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libatomic/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libbacktrace/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libcc1/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libcilkrts/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libffi/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libgfortran/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libgomp/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libitm/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libjava/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libjava/classpath/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libobjc/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libquadmath/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libsanitizer/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libssp/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libstdc++-v3/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libvtv/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      lto-plugin/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      From-SVN: r217937
      H.J. Lu committed
  6. 11 Nov, 2014 1 commit
    • re PR target/63610 (Fixing the libtool bug for Yosemite (darwin14)) · ebf6d33b
      toplevel:
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* libtool.m4: Fix globbing of darwin versions.
      
      boehm-gc/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      gcc/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libatomic/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libbacktrace/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libcc1/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libcilkrts/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libffi/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libgfortran/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libgomp/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libitm/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libobjc/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libquadmath/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libsanitizer/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libssp/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libstdc++-v3/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libvtv/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      lto-plugin/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libjava/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libjava/classpath/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      zlib/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      From-SVN: r217366
      Francois-Xavier Coudert committed
  7. 06 Oct, 2014 1 commit
  8. 25 Jul, 2014 1 commit
  9. 28 May, 2014 1 commit
    • Centralise clearing hardware capabilities with Sun ld · 3c698bf0
      	gcc:
      	* configure.ac ($gcc_cv_ld_clearcap): New test.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      	* config/sol2.opt (mclear-hwcap): New option.
      	* config/sol2.h (LINK_CLEARCAP_SPEC): Define.
      	* config/sol2-clearcap.map: Moved here from
      	testsuite/gcc.target/i386/clearcap.map.
      	* config/sol2-clearcapv2.map: Move here from
      	gcc.target/i386/clearcapv2.map.
      	* config/t-sol2 (install): Depend on install-clearcap-map.
      	(install-clearcap-map): New target.
      	* doc/invoke.texi (Option Summary, Solaris 2 Options): Document
      	-mclear-hwcap.
      
      	gcc/testsuite:
      	* lib/clearcap.exp: New file.
      	* gcc.dg/vect/vect.exp: Load clearcap.exp.
      	Remove clearcap_ldflags handling.
      	Call clearcap-init, clearcap-finish.
      	* gcc.target/i386/i386.exp: Likewise.
      	* gcc.target/i386/clearcap.map: Move to ../config/sol2-clearcap.map.
      	* gcc.target/i386/clearcapv2.map: Move to
      	../config/sol2-clearcapv2.map.
      	* gcc.target/x86_64/abi/avx/abi-avx.exp: Likewise.
      	* gcc.target/x86_64/abi/avx512f/abi-avx512f.exp: Likewise.
      
      	libitm:
      	* acinclude.m4 (LIBITM_CHECK_LINKER_HWCAP): Check for
      	-mclear-hwcap instead.
      	* configure: Regenerate.
      	* clearcap.map: Remove.
      
      From-SVN: r211014
      Rainer Orth committed
  10. 21 May, 2014 1 commit
    • 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
  11. 19 May, 2014 1 commit
  12. 09 Apr, 2014 1 commit
  13. 02 Apr, 2014 1 commit
  14. 26 Mar, 2014 2 commits
  15. 13 Jan, 2014 1 commit
  16. 02 Jan, 2014 2 commits
    • Update copyright years in libitm/ · f93608e6
      From-SVN: r206298
      Richard Sandiford committed
    • gnat_ugn.texi: Bump @copying's copyright year. · 98db73df
      2014-01-02  Tobias Burnus  <burnus@net-b.de>
      
      gcc/ada/
              * gnat_ugn.texi: Bump @copying's copyright year.
      
      gcc/
              * gcc.c (process_command): Update copyright notice dates.
              * gcov-dump.c: Ditto.
              * gcov.c: Ditto.
              * doc/cpp.texi: Bump @copying's copyright year.
              * doc/cppinternals.texi: Ditto.
              * doc/gcc.texi: Ditto.
              * doc/gccint.texi: Ditto.
              * doc/gcov.texi: Ditto.
              * doc/install.texi: Ditto.
              * doc/invoke.texi: Ditto.
      
      gcc/fortran/
              * gfortranspec.c (lang_specific_driver): Update copyright notice
              dates.
              * gfc-internals.texi: Bump @copying's copyright year.
              * gfortran.texi: Ditto.
              * intrinsic.texi: Ditto.
              * invoke.texi: Ditto.
      
      gcc/go/
              * gcc/go/gccgo.texi: Ditto.
      
      gcc/java/
              * jcf-dump.c (version): Update copyright notice dates.
              * gcj.texi: Bump @copying's copyright year.
      
      libgomp/
              * libgomp.texi: Bump @copying's copyright year.
      
      libitm/
              * libitm.texi: Bump @copying's copyright year.
      
      libjava/
              * classpath/gnu/java/rmi/registry/RegistryImpl.java (version):
              * Update
              copyright notice dates.
              * classpath/tools/gnu/classpath/tools/orbd/Main.java (run):
              * Ditto.
              * gnu/gcj/convert/Convert.java (version): Update copyright
              * notice
              dates.
              * gnu/gcj/tools/gcj_dbtool/Main.java (main): Ditto.
      
      libquadmath/
              * libquadmath.texi: Bump @copying's copyright year.
      
      From-SVN: r206286
      Tobias Burnus committed
  17. 14 Nov, 2013 1 commit
    • rs6000.h (RS6000_SAVE_AREA): Handle ABI_ELFv2. · b54214fe
      gcc/ChangeLog:
      
      2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
      	    Alan Modra  <amodra@gmail.com>
      
      	* config/rs6000/rs6000.h (RS6000_SAVE_AREA): Handle ABI_ELFv2.
      	(RS6000_SAVE_TOC): Remove.
      	(RS6000_TOC_SAVE_SLOT): New macro.
      	* config/rs6000/rs6000.c (rs6000_parm_offset): New function.
      	(rs6000_parm_start): Use it.
      	(rs6000_function_arg_advance_1): Likewise.
      	(rs6000_emit_prologue): Use RS6000_TOC_SAVE_SLOT.
      	(rs6000_emit_epilogue): Likewise.
      	(rs6000_call_aix): Likewise.
      	(rs6000_output_function_prologue): Do not save/restore r11
      	around calling _mcount for ABI_ELFv2.
      
      2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
      	    Alan Modra  <amodra@gmail.com>
      
      	* config/rs6000/rs6000-protos.h (rs6000_reg_parm_stack_space):
      	Add prototype.
      	* config/rs6000/rs6000.h (RS6000_REG_SAVE): Remove.
      	(REG_PARM_STACK_SPACE): Call rs6000_reg_parm_stack_space.
      	* config/rs6000/rs6000.c (rs6000_parm_needs_stack): New function.
      	(rs6000_function_parms_need_stack): Likewise.
      	(rs6000_reg_parm_stack_space): Likewise.
      	(rs6000_function_arg): Do not replace BLKmode by Pmode when
      	returning a register argument.
      
      2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
      	    Michael Gschwind  <mkg@us.ibm.com>
      
      	* config/rs6000/rs6000.h (FP_ARG_MAX_RETURN): New macro.
      	(ALTIVEC_ARG_MAX_RETURN): Likewise.
      	(FUNCTION_VALUE_REGNO_P): Use them.
      	* config/rs6000/rs6000.c (TARGET_RETURN_IN_MSB): Define.
      	(rs6000_return_in_msb): New function.
      	(rs6000_return_in_memory): Handle ELFv2 homogeneous aggregates.
      	Handle aggregates of up to 16 bytes for ELFv2.
      	(rs6000_function_value): Handle ELFv2 homogeneous aggregates.
      
      2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
      	    Michael Gschwind  <mkg@us.ibm.com>
      
      	* config/rs6000/rs6000.h (AGGR_ARG_NUM_REG): Define.
      	* config/rs6000/rs6000.c (rs6000_aggregate_candidate): New function.
      	(rs6000_discover_homogeneous_aggregate): Likewise.
      	(rs6000_function_arg_boundary): Handle homogeneous aggregates.
      	(rs6000_function_arg_advance_1): Likewise.
      	(rs6000_function_arg): Likewise.
      	(rs6000_arg_partial_bytes): Likewise.
      	(rs6000_psave_function_arg): Handle BLKmode arguments.
      
      2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
      	    Michael Gschwind  <mkg@us.ibm.com>
      
      	* config/rs6000/rs6000.h (AGGR_ARG_NUM_REG): Define.
      	* config/rs6000/rs6000.c (rs6000_aggregate_candidate): New function.
      	(rs6000_discover_homogeneous_aggregate): Likewise.
      	(rs6000_function_arg_boundary): Handle homogeneous aggregates.
      	(rs6000_function_arg_advance_1): Likewise.
      	(rs6000_function_arg): Likewise.
      	(rs6000_arg_partial_bytes): Likewise.
      	(rs6000_psave_function_arg): Handle BLKmode arguments.
      
      2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
      
      	* config/rs6000/rs6000.c (machine_function): New member
      	r2_setup_needed.
      	(rs6000_emit_prologue): Set r2_setup_needed if necessary.
      	(rs6000_output_mi_thunk): Set r2_setup_needed.
      	(rs6000_output_function_prologue): Output global entry point
      	prologue and local entry point marker if needed for ABI_ELFv2.
      	Output -mprofile-kernel code here.
      	(output_function_profiler): Do not output -mprofile-kernel
      	code here; moved to rs6000_output_function_prologue.
      	(rs6000_file_start): Output ".abiversion 2" for ABI_ELFv2.
      
      	(rs6000_emit_move): Do not handle dot symbols for ABI_ELFv2.
      	(rs6000_output_function_entry): Likewise.
      	(rs6000_assemble_integer): Likewise.
      	(rs6000_elf_encode_section_info): Likewise.
      	(rs6000_elf_declare_function_name): Do not create dot symbols
      	or .opd section for ABI_ELFv2.
      
      	(rs6000_trampoline_size): Update for ABI_ELFv2 trampolines.
      	(rs6000_trampoline_init): Likewise.
      	(rs6000_elf_file_end): Call file_end_indicate_exec_stack
      	for ABI_ELFv2.
      
      	(rs6000_call_aix): Handle ELFv2 indirect calls.  Do not check
      	for function descriptors in ABI_ELFv2.
      
      	* config/rs6000/rs6000.md ("*call_indirect_aix<mode>"): Support
      	on ABI_AIX only, not ABI_ELFv2.
      	("*call_value_indirect_aix<mode>"): Likewise.
      	("*call_indirect_elfv2<mode>"): New pattern.
      	("*call_value_indirect_elfv2<mode>"): Likewise.
      
      	* config/rs6000/predicates.md ("symbol_ref_operand"): Do not
      	check for function descriptors in ABI_ELFv2.
      	("current_file_function_operand"): Likewise.
      
      	* config/rs6000/ppc-asm.h [__powerpc64__ && _CALL_ELF == 2]:
      	(toc): Undefine.
      	(FUNC_NAME): Define ELFv2 variant.
      	(JUMP_TARGET): Likewise.
      	(FUNC_START): Likewise.
      	(HIDDEN_FUNC): Likewise.
      	(FUNC_END): Likeiwse.
      
      2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
      
      	* config.gcc [powerpc*-*-* | rs6000-*-*]: Support --with-abi=elfv1
      	and --with-abi=elfv2.
      	* config/rs6000/option-defaults.h (OPTION_DEFAULT_SPECS): Add "abi".
      	* config/rs6000/rs6000.opt (mabi=elfv1): New option.
      	(mabi=elfv2): Likewise.
      	* config/rs6000/rs6000-opts.h (enum rs6000_abi): Add ABI_ELFv2.
      	* config/rs6000/linux64.h (DEFAULT_ABI): Do not hard-code to AIX_ABI
      	if !RS6000_BI_ARCH.
      	(ELFv2_ABI_CHECK): New macro.
      	(SUBSUBTARGET_OVERRIDE_OPTIONS): Use it to decide whether to set
      	rs6000_current_abi to ABI_AIX or ABI_ELFv2.
      	(GLIBC_DYNAMIC_LINKER64): Support ELFv2 ld.so version.
      	* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Predefine
      	_CALL_ELF and __STRUCT_PARM_ALIGN__ if appropriate.
      
      	* config/rs6000/rs6000.c (rs6000_debug_reg_global): Handle ABI_ELFv2.
      	(debug_stack_info): Likewise.
      	(rs6000_file_start): Treat ABI_ELFv2 the same as ABI_AIX.
      	(rs6000_legitimize_tls_address): Likewise.
      	(rs6000_conditional_register_usage): Likewise.
      	(rs6000_emit_move): Likewise.
      	(init_cumulative_args): Likewise.
      	(rs6000_function_arg_advance_1): Likewise.
      	(rs6000_function_arg): Likewise.
      	(rs6000_arg_partial_bytes): Likewise.
      	(rs6000_output_function_entry): Likewise.
      	(rs6000_assemble_integer): Likewise.
      	(rs6000_savres_strategy): Likewise.
      	(rs6000_stack_info): Likewise.
      	(rs6000_function_ok_for_sibcall): Likewise.
      	(rs6000_emit_load_toc_table): Likewise.
      	(rs6000_savres_routine_name): Likewise.
      	(ptr_regno_for_savres): Likewise.
      	(rs6000_emit_prologue): Likewise.
      	(rs6000_emit_epilogue): Likewise.
      	(rs6000_output_function_epilogue): Likewise.
      	(output_profile_hook): Likewise.
      	(output_function_profiler): Likewise.
      	(rs6000_trampoline_size): Likewise.
      	(rs6000_trampoline_init): Likewise.
      	(rs6000_elf_output_toc_section_asm_op): Likewise.
      	(rs6000_elf_encode_section_info): Likewise.
      	(rs6000_elf_reloc_rw_mask): Likewise.
      	(rs6000_elf_declare_function_name): Likewise.
      	(rs6000_function_arg_boundary): Treat ABI_ELFv2 the same as ABI_AIX,
      	except that rs6000_compat_align_parm is always assumed false.
      	(rs6000_gimplify_va_arg): Likewise.
      	(rs6000_call_aix): Update comment.
      	(rs6000_sibcall_aix): Likewise.
      	* config/rs6000/rs6000.md ("tls_gd_aix<TLSmode:tls_abi_suffix>"):
      	Treat ABI_ELFv2 the same as ABI_AIX.
      	("*tls_gd_call_aix<TLSmode:tls_abi_suffix>"): Likewise.
      	("tls_ld_aix<TLSmode:tls_abi_suffix>"): Likewise.
      	("*tls_ld_call_aix<TLSmode:tls_abi_suffix>"): Likewise.
      	("load_toc_aix_si"): Likewise.
      	("load_toc_aix_di"): Likewise.
      	("call"): Likewise.
      	("call_value"): Likewise.
      	("*call_local_aix<mode>"): Likewise.
      	("*call_value_local_aix<mode>"): Likewise.
      	("*call_nonlocal_aix<mode>"): Likewise.
      	("*call_value_nonlocal_aix<mode>"): Likewise.
      	("*call_indirect_aix<mode>"): Likewise.
      	("*call_value_indirect_aix<mode>"): Likewise.
      	("sibcall"): Likewise.
      	("sibcall_value"): Likewise.
      	("*sibcall_aix<mode>"): Likewise.
      	("*sibcall_value_aix<mode>"): Likewise.
      	* config/rs6000/predicates.md ("symbol_ref_operand"): Likewise.
      	("current_file_function_operand"): Likewise.
      
      gcc/testsuite/ChangeLog:
      
      2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
      
      	* gcc.target/powerpc/ppc64-abi-1.c (stack_frame_t): Remove
      	compiler and linker field if _CALL_ELF == 2.
      	* gcc.target/powerpc/ppc64-abi-2.c (stack_frame_t): Likewise.
      	* gcc.target/powerpc/ppc64-abi-dfp-1.c (stack_frame_t): Likewise.
      	* gcc.dg/stack-usage-1.c (SIZE): Update value for _CALL_ELF == 2.
      
      2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
      
      	* gcc.target/powerpc/ppc64-abi-dfp-1.c (FUNC_START): New macro.
      	(WRAPPER): Use it.
      	* gcc.target/powerpc/no-r11-1.c: Skip on powerpc_elfv2.
      	* gcc.target/powerpc/no-r11-2.c: Skip on powerpc_elfv2.
      	* gcc.target/powerpc/no-r11-3.c: Skip on powerpc_elfv2.
      
      2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
      
      	* lib/target-supports.exp (check_effective_target_powerpc_elfv2):
      	New function.
      	* gcc.target/powerpc/pr57949-1.c: Disable for powerpc_elfv2.
      	* gcc.target/powerpc/pr57949-2.c: Likewise.
      
      libgcc/ChangeLog:
      
      2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
      	    Alan Modra  <amodra@gmail.com>
      
      	* config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
      	(frob_update_context): Use it.
      
      2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
      	    Alan Modra  <amodra@gmail.com>
      
      	* config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
      	(trampoline_initial): Provide ELFv2 variant.
      	(__trampoline_setup): Likewise.
      
      	* config/rs6000/linux-unwind.h (frob_update_context): Do not
      	check for AIX indirect function call sequence if _CALL_ELF == 2.
      
      2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
      	    Alan Modra  <amodra@gmail.com>
      
      	* config/rs6000/linux-unwind.h (get_regs): Do not support
      	old kernel versions if _CALL_ELF == 2.
      	(frob_update_context): Do not support PLT stub variants only
      	generated by old linkers if _CALL_ELF == 2.
      
      libitm/ChangeLog:
      
      2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
      
      	* config/powerpc/sjlj.S [__powerpc64__ && _CALL_ELF == 2]:
      	(FUNC): Define ELFv2 variant.
      	(END): Likewise.
      	(HIDDEN): Likewise.
      	(CALL): Likewise.
      	(BASE): Likewise.
      	(LR_SAVE): Likewise.
      
      libstdc++/ChangeLog:
      
      2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
      
      	* scripts/extract_symvers.in: Ignore <localentry: > fields
      	in readelf --symbols output.
      
      
      Co-Authored-By: Alan Modra <amodra@gmail.com>
      Co-Authored-By: Michael Gschwind <mkg@us.ibm.com>
      
      From-SVN: r204808
      Ulrich Weigand committed
  18. 20 Sep, 2013 1 commit
  19. 30 Aug, 2013 2 commits
    • libitm: Fix wrong initialization order introduced with r202101. · 6fb471d8
      	* config/posix/rwlock.cc: Fix initialization order.
      
      From-SVN: r202116
      Torvald Riegel committed
    • Add custom HTM fast path for RTM on x86_64. · bec9ec3f
      	* libitm_i.h (gtm_thread): Assign an asm name to serial_lock.
      	(htm_fastpath): Assign an asm name.
      	* libitm.h (_ITM_codeProperties): Add non-ABI flags used by custom
      	HTM fast paths.
      	(_ITM_actions): Likewise.
      	* config/x86/target.h (HTM_CUSTOM_FASTPATH): Enable custom fastpath on
      	x86_64.
      	* config/x86/sjlj.S (_ITM_beginTransaction): Add custom HTM fast path.
      	* config/posix/rwlock.h (gtm_rwlock): Update comments.  Move summary
      	field to the start of the structure.
      	* config/linux/rwlock.h (gtm_rwlock): Update comments.
      	* beginend.cc (gtm_thread::begin_transaction): Add retry policy
      	handling for custom HTM fast paths.
      
      From-SVN: r202101
      Torvald Riegel committed
  20. 14 Aug, 2013 1 commit
  21. 02 Aug, 2013 1 commit
  22. 29 Jul, 2013 1 commit
  23. 17 Jul, 2013 1 commit
    • s390.c: (s390_expand_builtin): Allow -mhtm to be enabled without -march=zEC12. · 167f68ed
      2013-07-17  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* config/s390/s390.c: (s390_expand_builtin): Allow -mhtm to be
      	enabled without -march=zEC12.
      	* config/s390/s390.h (TARGET_HTM): Do not require EC12 machine
      	flags to be set.
      
      2013-07-17  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* acinclude.m4: Add htm asm check for s390.
      	* configure.tgt: Add -mhtm and -Wa,-march=zEC12 to the options.
      	* configure: Regenerate.
      	* config/s390/target.h: Remove __HTM__ check.
      	(htm_available): Call getauxval to get hwcaps and check whether
      	HTM is available or not.
      
      From-SVN: r201004
      Andreas Krebbel committed
  24. 15 Jul, 2013 1 commit
    • acinclude.m4 (LIBITM_CHECK_AS_HTM): New. · 0258b6e4
      libitm/
              * acinclude.m4 (LIBITM_CHECK_AS_HTM): New.
              * configure.ac: Use it.
      	(AC_CHECK_HEADERS): Check for sys/auxv.h.
      	(AC_CHECK_FUNCS): Check for getauxval.
              * config.h.in, configure: Rebuild.
      	* configure.tgt (target_cpu): Add -mhtm to XCFLAGS.
      	* config/powerpc/target.h: Include sys/auxv.h and htmintrin.h.
      	(USE_HTM_FASTPATH): Define.
      	(_TBEGIN_STARTED, _TBEGIN_INDETERMINATE, _TBEGIN_PERSISTENT,
      	_HTM_RETRIES) New macros.
      	(htm_abort, htm_abort_should_retry, htm_available, htm_begin, htm_init,
      	htm_begin_success, htm_commit, htm_transaction_active): New functions.
      
      gcc/
      	* config.gcc (powerpc*-*-*): Install htmintrin.h and htmxlintrin.h.
      	* config/rs6000/t-rs6000 (MD_INCLUDES): Add htm.md.
      	* config/rs6000/rs6000.opt: Add -mhtm option.
      	* config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Add OPTION_MASK_HTM.
      	(ISA_2_7_MASKS_SERVER): Add OPTION_MASK_HTM.
      	* config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Define
      	__HTM__ if the HTM instructions are available.
      	* config/rs6000/predicates.md (u3bit_cint_operand, u10bit_cint_operand,
      	htm_spr_reg_operand): New define_predicates.
      	* config/rs6000/rs6000.md (define_attr "type"): Add htm.
      	(TFHAR_REGNO, TFIAR_REGNO, TEXASR_REGNO): New define_constants.
      	Include htm.md.
      	* config/rs6000/rs6000-builtin.def (BU_HTM_0, BU_HTM_1, BU_HTM_2,
      	BU_HTM_3, BU_HTM_SPR0, BU_HTM_SPR1): Add support macros for defining
      	HTM builtin functions.
      	* config/rs6000/rs6000.c (RS6000_BUILTIN_H): New macro.
      	(rs6000_reg_names, alt_reg_names): Add HTM SPR register names.
      	(rs6000_init_hard_regno_mode_ok): Add support for HTM instructions.
      	(rs6000_builtin_mask_calculate): Likewise.
      	(rs6000_option_override_internal): Likewise.
      	(bdesc_htm): Add new HTM builtin support.
      	(htm_spr_num): New function.
      	(htm_spr_regno): Likewise.
      	(rs6000_htm_spr_icode): Likewise.
      	(htm_expand_builtin): Likewise.
      	(htm_init_builtins): Likewise.
      	(rs6000_expand_builtin): Add support for HTM builtin functions.
      	(rs6000_init_builtins): Likewise.
      	(rs6000_invalid_builtin, rs6000_opt_mask): Add support for -mhtm option.
      	* config/rs6000/rs6000.h (ASM_CPU_SPEC): Add support for -mhtm.
      	(TARGET_HTM, MASK_HTM): Define macros.
      	(FIRST_PSEUDO_REGISTER): Adjust for new HTM SPR registers.
      	(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.
      	(REGISTER_NAMES): Likewise.
      	(ADDITIONAL_REGISTER_NAMES): Likewise.
      	(RS6000_BTC_SPR, RS6000_BTC_VOID, RS6000_BTC_32BIT, RS6000_BTC_64BIT,
      	RS6000_BTC_MISC_MASK, RS6000_BTM_HTM): New macros.
      	(RS6000_BTM_COMMON): Add RS6000_BTM_HTM.
      	* config/rs6000/htm.md: New file.
      	* config/rs6000/htmintrin.h: New file.
      	* config/rs6000/htmxlintrin.h: New file.
      
      gcc/testsuite/
              * lib/target-supports.exp (check_effective_target_powerpc_htm_ok): New
              function to test if HTM is available.
      	* gcc.target/powerpc/htm-xl-intrin-1.c: New test.
      	* gcc.target/powerpc/htm-builtin-1.c: New test.
      
      From-SVN: r200960
      Peter Bergner committed
  25. 27 Jun, 2013 1 commit
    • s390.c: Rename UNSPEC_CCU_TO_INT to UNSPEC_STRCMPCC_TO_INT and UNSPEC_CCZ_TO_INT to... · 5a3fe9b6
      2013-06-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* config/s390/s390.c: Rename UNSPEC_CCU_TO_INT to
      	UNSPEC_STRCMPCC_TO_INT and UNSPEC_CCZ_TO_INT to UNSPEC_CC_TO_INT.
      	(struct machine_function): Add tbegin_p.
      	(s390_canonicalize_comparison): Fold CC mode compares to
      	conditional jump if possible.
      	(s390_emit_jump): Return the emitted jump.
      	(s390_branch_condition_mask, s390_branch_condition_mnemonic):
      	Handle CCRAWmode compares.
      	(s390_option_override): Default to -mhtm if available.
      	(s390_reg_clobbered_rtx): Handle floating point regs as well.
      	(s390_regs_ever_clobbered): Use s390_regs_ever_clobbered also for
      	FPRs instead of df_regs_ever_live_p.
      	(s390_optimize_nonescaping_tx): New function.
      	(s390_init_frame_layout): Extend clobbered_regs array to cover
      	FPRs as well.
      	(s390_emit_prologue): Call s390_optimize_nonescaping_tx.
      	(s390_expand_tbegin): New function.
      	(enum s390_builtin): New enum definition.
      	(code_for_builtin): New array definition.
      	(s390_init_builtins): New function.
      	(s390_expand_builtin): New function.
      	(TARGET_INIT_BUILTINS): Define.
      	(TARGET_EXPAND_BUILTIN): Define.
      	* common/config/s390/s390-common.c (processor_flags_table): Add
      	PF_TX.
      	* config/s390/predicates.md (s390_comparison): Handle CCRAWmode.
      	(s390_alc_comparison): Likewise.
      	* config/s390/s390-modes.def: Add CCRAWmode.
      	* config/s390/s390.h (processor_flags): Add PF_TX.
      	(TARGET_CPU_HTM): Define macro.
      	(TARGET_HTM): Define macro.
      	(TARGET_CPU_CPP_BUILTINS): Define __HTM__ for htm.
      	* config/s390/s390.md: Rename UNSPEC_CCU_TO_INT to
      	UNSPEC_STRCMPCC_TO_INT and UNSPEC_CCZ_TO_INT to UNSPEC_CC_TO_INT.
      	(UNSPECV_TBEGIN, UNSPECV_TBEGINC, UNSPECV_TEND, UNSPECV_TABORT)
      	(UNSPECV_ETND, UNSPECV_NTSTG, UNSPECV_PPA): New unspecv enum
      	values.
      	(TBEGIN_MASK, TBEGINC_MASK): New constants.
      	("*cc_to_int"): Move up.
      	("*mov<mode>cc", "*cjump_64", "*cjump_31"): Accept integer
      	constants other than 0.
      	("*ccraw_to_int"): New insn and splitter definition.
      	("tbegin", "tbegin_nofloat", "tbegin_retry")
      	("tbegin_retry_nofloat", "tbeginc", "tend", "tabort")
      	("tx_assist"): New expander.
      	("tbegin_1", "tbegin_nofloat_1", "*tbeginc_1", "*tend_1")
      	("*tabort_1", "etnd", "ntstg", "*ppa"): New insn definition.
      	* config/s390/s390.opt: Add -mhtm option.
      	* config/s390/s390-protos.h (s390_emit_jump): Add return type.
      	* config/s390/htmxlintrin.h: New file.
      	* config/s390/htmintrin.h: New file.
      	* config/s390/s390intrin.h: New file.
      	* doc/extend.texi: Document htm builtins.
      	* config.gcc: Add the new header files to extra_headers.
      
      2013-06-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* gcc.target/s390/htm-1.c: New file.
      	* gcc.target/s390/htm-nofloat-1.c: New file.
      	* gcc.target/s390/htm-xl-intrin-1.c: New file.
      
      2013-06-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* config/s390/target.h: Include htmintrin.h.
      	(_HTM_ITM_RETRIES): New macro definition.
      	(htm_available, htm_init, htm_begin, htm_begin_success)
      	(htm_commit, htm_abort, htm_abort_should_retry): New functions.
      
      From-SVN: r200454
      Andreas Krebbel committed
  26. 20 Jun, 2013 3 commits
  27. 05 Jun, 2013 1 commit
    • re PR bootstrap/56714 (Bootstrap failure libitm/local_atomic:1580:3: error:… · 51249377
      re PR bootstrap/56714 (Bootstrap failure libitm/local_atomic:1580:3: error: always_inline function might not be inlinable)
      
      	PR bootstrap/56714
      	* local_atomic (__always_inline): Always define our version.
      	(__calculate_memory_order): Mark inline.
      	(atomic_thread_fence): Ditto.
      	(atomic_signal_fence): Ditto.
      	(atomic_bool::atomic_flag_test_and_set_explicit): Ditto.
      	(atomic_bool::atomic_flag_clear_explicit): Ditto.
      	(atomic_bool::atomic_flag_test_and_set): Ditto.
      	(atomic_bool::atomic_flag_clear): Ditto.
      
      From-SVN: r199704
      Gerald Pfeifer committed
  28. 02 May, 2013 1 commit
  29. 23 Apr, 2013 1 commit
    • sjlj.S: New file. · aaec3fc8
      2013-04-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* config/s390/sjlj.S: New file.
      	* config/s390/target.h: New file.
      	* configure.tgt: Set options for S/390.
      
      From-SVN: r198190
      Andreas Krebbel committed
  30. 09 Apr, 2013 1 commit
  31. 24 Mar, 2013 1 commit
    • Avoid nonconst memmodels in libitm's local outdated copy of <atomic> too · b01819be
      This avoids warnings in libitm for non constant memory models,
      fixing the bootstrap with -Werror
      
      Passed bootstrap and test on x86_64-linux.
      
      libitm/:
      
      2013-03-23  Andi Kleen  <andi@my.domain.org>
      
      	* local_atomic (__always_inline): Add.
      	(__calculate_memory_order, atomic_thread_fence,
      	 atomic_signal_fence, test_and_set, clear, store, load,
               exchange, compare_exchange_weak, compare_exchange_strong,
               fetch_add, fetch_sub, fetch_and, fetch_or, fetch_xor):
      	Add __always_inline to force inlining.
      
      From-SVN: r197018
      Andi Kleen committed
  32. 11 Feb, 2013 1 commit
    • re PR libitm/55693 (libitm.c++/eh-1.C execution test fails on darwin from r193271) · 6c59ffd1
      /libgcc
      2013-02-11  Iain Sandoe  <iain@codesourcery.com>
      	    Jack Howarth  <howarth@bromo.med.uc.edu>
      	    Patrick Marlier  <patrick.marlier@gmail.com>
      
      	PR libitm/55693
      	* config/darwin-crt-tm.c: Remove dummy functions hack.
      
      /gcc
      2013-02-11  Iain Sandoe  <iain@codesourcery.com>
      	    Jack Howarth  <howarth@bromo.med.uc.edu>
      	    Patrick Marlier  <patrick.marlier@gmail.com>
      
      	PR libitm/55693
      	* config/darwin.h: Replace ENDFILE_SPEC with TM_DESTRUCTOR and
      	define ENDFILE_SPEC as TM_DESTRUCTOR.
      	* config/i386/darwin.h (ENDFILE_SPEC): Use TM_DESTRUCTOR.
      
      /libitm
      2013-02-11  Iain Sandoe  <iain@codesourcery.com>
      	    Jack Howarth  <howarth@bromo.med.uc.edu>
      	    Patrick Marlier  <patrick.marlier@gmail.com>
      
      	PR libitm/55693
      	* alloc_cpp.cc: Enable function declarations on darwin.
      	* eh_cpp.cc: Likewise.
      
      Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu>
      Co-Authored-By: Patrick Marlier <patrick.marlier@gmail.com>
      
      From-SVN: r195960
      Iain Sandoe committed
  33. 03 Feb, 2013 1 commit
  34. 09 Nov, 2012 1 commit
    • Add HTM fastpath and use Intel RTM for it on x86. · 64fbcc74
      	* beginend.cc (htm_fastpath): New.
      	(gtm_thread::begin_transaction, _ITM_commitTransaction,
      	_ITM_commitTransactionEH): Add HTM fastpath handling.
      	* config/linux/rwlock.h (gtm_rwlock.is_write_locked): New.
      	* config/posix/rwlock.h (gtm_rwlock.is_write_locked): New.
      	* config/x86/target.h (htm_available, htm_init, htm_begin_success,
      	htm_begin, htm_commit, htm_abort, htm_abort_should_retry): New.
      	* configure.tgt: Add -mrtm to XCFLAGS.
      	* method-serial.cc (htm_mg, o_htm_mg, htm_dispatch, dispatch_htm): New.
      	(gtm_thread::serialirr_mode): Add HTM fastpath handling.
      	* libitm_i.h (htm_fastpath, dispatch_htm): Declare.
      	* retry.cc (parse_default_method): Add HTM method parsing.
      	(gtm_thread::number_of_threads_changed): Use HTM by default if
      	available.
      
      From-SVN: r193369
      Torvald Riegel committed