http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60073

--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Mon Feb 17 12:00:04 2014
New Revision: 207822

URL: http://gcc.gnu.org/viewcvs?rev=207822&root=gcc&view=rev
Log:
    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.

Modified:
    trunk/libffi/ChangeLog
    trunk/libffi/src/sparc/ffi.c
    trunk/libffi/src/sparc/ffitarget.h
    trunk/libffi/src/sparc/v8.S
    trunk/libffi/src/sparc/v9.S

Reply via email to