https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64618
Bug ID: 64618 Summary: Missing GCC changes in libffi Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libffi Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: rth at gcc dot gnu.org Some GCC changes in libffi may be lost in commit 89d8a412de548b218cf7c967e65ad98bceb1ed4e Author: rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Mon Jan 12 16:19:59 2015 +0000 Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219477 138bc75d-0d04-0410-961f-82ee72b054a4 They are commit 8cd092c9edd1e155a21a2547c97b80db9e0a1c26 Author: schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Sat Dec 29 16:25:27 2012 +0000 * Makefile.am (ACLOCAL_AMFLAGS, TEXINFO_TEX, MAKEINFOFLAGS) (STAMP_GENINSRC, STAMP_BUILD_INFO, CLEANFILES) (MAINTAINERCLEANFILES): Define. (all-local, stamp-geninsrc, stamp-build-info): New targets. (doc/libffi.info): Depend on $(STAMP_BUILD_INFO) * configure.ac: Check for modern makeinfo. Add support for --enable-generated-files-in-srcdir. * libffi/mdate-sh: New file. * testsuite/lib/libffi.exp (load_gcc_lib): Load from gcc testsuite lib dir. (libffi-init): Properly set library paths for multilibs and add path to libstdc++. * configure: Regenerate. * aclocal.m4: Regenerate. * Makefile.in: Regenerate. * doc/stamp-vti: Regenerate. * doc/version.texi: Regenerate. * fficonfig.h.in: Regenerate. * include/Makefile.in: Regenerate. * man/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194752 138bc75d-0d04-0410-961f-82ee72b054a4 commit 3a4c5379799b896220ac84e917f3eb5a5e5f61de Author: ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Wed Oct 15 15:32:41 2014 +0000 * configure.ac: If the compiler supports -Qunused-arguments, use it when running the compiler on .s files. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216268 138bc75d-0d04-0410-961f-82ee72b054a4 commit be24203d712c030b4091a50f5d84b7372d5c990c Author: ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu Feb 13 16:18:13 2014 +0000 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. commit 6b5229ed95ac50728f05fe5f3fd02d697775a5db Author: ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Mon Feb 17 12:00:04 2014 +0000 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207822 138bc75d-0d04-0410-96 1f-82ee72b054a4 commit faff04c34663ff7a5a95ded8a07a46ba81944cac Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Fri Jul 4 05:28:17 2014 +0000 Normalize interface for all *-dg-runtest. * testsuite/lib/libffi.exp (libffi-dg-runtest): Change interface match to dg-runtest's. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212278 138bc75d-0d04-0410-96 1f-82ee72b054a4 commit ab6e5665c356663d99a529db9e38bd79cecc8c35 Author: uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Fri Jul 25 09:01:45 2014 +0000 * src/alpha/ffi.c: Do not include stdlib.h. (ffi_closure_osf_inner) <default>: Use FFI_ASSERT instead of abort. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213049 138bc75d-0d04-0410-96 1f-82ee72b054a4 commit 9a11bbe02eb0f7d65deac732af7482f7f62e8279 Author: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu Sep 11 09:03:49 2014 +0000 * src/powerpc/linux64.S: Emit .note.GNU-stack even when POWERPC64 is not defined. * src/powerpc/linux64_closure.S: Likewise. Also test _CALL_ELF == 2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215155 138bc75d-0d04-0410-96 1f-82ee72b054a4