1. 30 Sep, 2015 1 commit
    • [RS6000] Correct powerpc sysv stack argument accounting · c57173b6
      ppc32 starts using the stack for integer arg passing when we run out
      of integer arg passing registers.  Similarly, we start using the stack
      for floating point args when we run out of floating point registers.
      The decision on where an integer arg goes does not depend on number of
      floating point args, nor does the decision on where a floating point
      arg goes depend on number of integer args.  Alignment of stack args
      also simply depends on number of stack args.
      
      This patch untangles the horrible mess we had, with intarg_count being
      wrongly used to count both integer args and stack words.
      
      	* src/powerpc/ffi_sysv.c (ffi_prep_cif_sysv_core): Count fprs,
      	gprs, and stack words separately.
      	(ffi_prep_args_SYSV): Similarly.
      
      From-SVN: r228307
      Alan Modra committed
  2. 13 May, 2015 1 commit
    • libffi: Bump to automake 1.11.6 · 11989ec2
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      	* fficonfig.h.in: Likewise.
      	* include/Makefile.in: Likewise.
      	* man/Makefile.in: Likewise.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r223142
      Michael Haubenwallner committed
  3. 29 Mar, 2015 1 commit
  4. 10 Feb, 2015 1 commit
    • ffitarget.h (ffi_arg): Use unsigned long long for ILP32. · 97c32df4
      2015-02-10  Andrew Pinski  <apinski@cavium.com>
      
              * src/aarch64/ffitarget.h (ffi_arg): Use unsigned long long for ILP32.
              (FFI_SIZEOF_ARG): Define to 64 for ILP32.
              (ffi_sarg): Use signed long long for ILP32.
      
              * src/aarch64/sysv.S (PTR_REG): New macro.
              (PTR_SIZE): New macro.
              (ffi_closure_SYSV): Load cif, fn and user_data using PTR_REG.
              (ffi_go_closure_SYSV): Load cif and fn using PTR_REG.
      
      From-SVN: r220598
      Andrew Pinski committed
  5. 29 Jan, 2015 1 commit
  6. 28 Jan, 2015 2 commits
  7. 27 Jan, 2015 1 commit
  8. 20 Jan, 2015 1 commit
  9. 19 Jan, 2015 2 commits
  10. 16 Jan, 2015 1 commit
  11. 15 Jan, 2015 1 commit
  12. 13 Jan, 2015 4 commits
  13. 12 Jan, 2015 1 commit
  14. 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
  15. 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
  16. 15 Oct, 2014 1 commit
  17. 11 Sep, 2014 1 commit
  18. 25 Jul, 2014 1 commit
  19. 04 Jul, 2014 1 commit
    • Normalize interface for all *-dg-runtest. · a03bd005
      	gcc/testsuite/
      	* lib/g++-dg.exp (g++-dg-runtest): Change interface to match
      	dg-runtest's.  Adapt all callers.
      	* lib/gcc-dg.exp (gcc-dg-runtest): Likewise.
      	* lib/gfortran-dg.exp (gfortran-dg-runtest): Likewise.
      	* lib/go-dg.exp (go-dg-runtest): Likewise.
      	* lib/obj-c++-dg.exp (obj-c++-dg-runtest): Likewise.
      	* lib/objc-dg.exp (objc-dg-runtest): Likewise.
      	libffi/
      	* testsuite/lib/libffi.exp (libffi-dg-runtest): Change interface
      	match to dg-runtest's.
      
      From-SVN: r212278
      Thomas Schwinge committed
  20. 20 May, 2014 1 commit
    • libffi.exp (load_gcc_lib): Register loaded libs. · 8ec7c36a
      2014-05-20  Sebastian Huber  <sebastian.huber@embedded-brains.de>
      
      libffi/
      	* testsuite/lib/libffi.exp (load_gcc_lib): Register loaded libs.
      
      libjava/
      	* testsuite/lib/libjava.exp (load_gcc_lib): Register loaded libs.
      
      libstdc++-v3/
      	* testsuite/lib/libstdc++.exp (load_gcc_lib): Register loaded libs.
      
      From-SVN: r210634
      Sebastian Huber committed
  21. 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
  22. 24 Apr, 2014 1 commit
    • tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define. · f7468577
      	* tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define.
      	* gimplify.c (omp_is_private): Change last argument's type to int.
      	Only diagnose lastprivate if the simd argument is 1, only diagnose
      	linear if the simd argument is 2.
      	(gimplify_omp_for): Adjust omp_is_private callers.  When adding
      	lastprivate or private, add the clause to OMP_FOR_CLAUSES.  Pass
      	GOVD_EXPLICIT to omp_add_variable.  For simd with collapse == 1
      	create OMP_CLAUSE_LINEAR rather than OMP_CLAUSE_PRIVATE for var.
      	If var != decl and decl is in OMP_CLAUSE_LINEAR, gimplify decl
      	increment to OMP_CLAUSE_LINEAR_GIMPLE_SEQ.
      	* omp-low.c (scan_sharing_clauses, lower_lastprivate_clauses): Handle
      	OMP_CLAUSE_LINEAR_GIMPLE_SEQ.
      	* tree-nested.c (convert_nonlocal_omp_clauses,
      	convert_local_omp_clauses): Handle OMP_CLAUSE_LINEAR.
      
      	* testsuite/libgomp.c/simd-7.c: New test.
      	* testsuite/libgomp.c/simd-8.c: New test.
      	* testsuite/libgomp.c/simd-9.c: New test.
      	* testsuite/libgomp.c/loop-16.c: New test.
      
      From-SVN: r209760
      Jakub Jelinek committed
  23. 12 Mar, 2014 1 commit
  24. 17 Feb, 2014 1 commit
    • re PR libffi/60073 (64-bit libffi.call/cls_double_va.c FAILs after recent modification) · 248d745a
      	PR libffi/60073
      	* src/sparc/v8.S: Assemble only if !SPARC64.
      	* src/sparc/v9.S: Remove obsolete comment.
      	* src/sparc/ffitarget.h (enum ffi_abi): Add FFI_COMPAT_V9.
      	(V8_ABI_P): New macro.
      	(V9_ABI_P): Likewise.
      	(FFI_EXTRA_CIF_FIELDS): Define only if SPARC64.
      	* src/sparc/ffi.c (ffi_prep_args_v8): Compile only if !SPARC64.
      	(ffi_prep_args_v9): Compile only if SPARC64.
      	(ffi_prep_cif_machdep_core): Use V9_ABI_P predicate.
      	(ffi_prep_cif_machdep): Guard access to nfixedargs field.
      	(ffi_prep_cif_machdep_var): Likewise.
      	(ffi_v9_layout_struct): Compile only if SPARC64.
      	(ffi_call): Deal with FFI_V8PLUS and FFI_COMPAT_V9 and fix warnings.
      	(ffi_prep_closure_loc): Use V9_ABI_P and V8_ABI_P predicates.
      	(ffi_closure_sparc_inner_v8): Compile only if !SPARC64.
      	(ffi_closure_sparc_inner_v9): Compile only if SPARC64.  Guard access
      	to nfixedargs field.
      
      From-SVN: r207822
      Eric Botcazou committed
  25. 13 Feb, 2014 1 commit
    • re PR libffi/60073 (64-bit libffi.call/cls_double_va.c FAILs after recent modification) · 30255340
      	PR libffi/60073
      	* src/sparc/ffitarget.h (FFI_TARGET_SPECIFIC_VARIADIC): Define.
      	(FFI_EXTRA_CIF_FIELDS): Likewise.
      	(FFI_NATIVE_RAW_API): Move around.
      	* src/sparc/ffi.c (ffi_prep_cif_machdep_core): New function from...
      	(ffi_prep_cif_machdep): ...here.  Call ffi_prep_cif_machdep_core.
      	(ffi_prep_cif_machdep_var): New function.
      	(ffi_closure_sparc_inner_v9): Do not pass anonymous FP arguments in
      	FP registers.
      	* doc/libffi.texi (Introduction): Fix inaccuracy.
      
      From-SVN: r207763
      Eric Botcazou committed
  26. 10 Dec, 2013 1 commit
    • ffitarget.h: Import from upstream. · e73d2479
      	* src/powerpc/ffitarget.h: Import from upstream.
      	* src/powerpc/ffi_powerpc.h: Likewise.
      	* src/powerpc/ffi.c: Likewise.
      	* src/powerpc/ffi_sysv.c: Likewise.
      	* src/powerpc/ffi_linux64.c: Likewise.
      	* src/powerpc/sysv.S: Likewise.
      	* src/powerpc/ppc_closure.S: Likewise.
      	* src/powerpc/linux64.S: Likewise.
      	* src/powerpc/linux64_closure.S: Likewise.
      	* src/types.c: Likewise.
      	* Makefile.am (EXTRA_DIST): Add new src/powerpc files.
      	(nodist_libffi_la_SOURCES <POWERPC, POWERPC_FREEBSD>): Likewise.
      	* configure.ac (HAVE_LONG_DOUBLE_VARIANT): Define for powerpc.
      	* include/ffi.h.in (ffi_prep_types): Declare.
      	* src/prep_cif.c (ffi_prep_cif_core): Call ffi_prep_types.
      	* configure: Regenerate.
      	* fficonfig.h.in: Regenerate.
      	* Makefile.in: Regenerate.
      	* man/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      From-SVN: r205844
      Alan Modra committed
  27. 17 Nov, 2013 2 commits
  28. 20 Sep, 2013 1 commit
  29. 25 Jun, 2013 1 commit
  30. 22 May, 2013 1 commit
  31. 22 Mar, 2013 1 commit
  32. 07 Mar, 2013 1 commit
  33. 06 Feb, 2013 1 commit
  34. 17 Jan, 2013 1 commit