OSDN Git Service

* configure.ac: Tidy target case.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Apr 2007 16:24:16 +0000 (16:24 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Apr 2007 16:24:16 +0000 (16:24 +0000)
commitea4d299a259d8cc08aefa91e797ec4a6e5bf4053
tree430f3d3b8444386a212bcbe6f9a70261cfb97d01
parent8ac34e6dbde42bf7267604428d5418cb79c1fa7e
    * configure.ac: Tidy target case.
        (HAVE_LONG_DOUBLE): Allow the target to override.
        * configure: Regenerate.
        * include/ffi.h.in: Don't define ffi_type_foo if
        LIBFFI_HIDE_BASIC_TYPES is defined.
        (ffi_type_longdouble): If not HAVE_LONG_DOUBLE, define
        to ffi_type_double.
        * types.c (LIBFFI_HIDE_BASIC_TYPES): Define.
        (FFI_TYPEDEF, ffi_type_void): Mark the data const.
        (ffi_type_longdouble): Special case for Alpha.  Don't define
        if long double == double.

        * src/alpha/ffi.c (FFI_TYPE_LONGDOUBLE): Assert unique value.
        (ffi_prep_cif_machdep): Handle it as the 128-bit type.
        (ffi_call, ffi_closure_osf_inner): Likewise.
        (ffi_closure_osf_inner): Likewise.  Mark hidden.
        (ffi_call_osf, ffi_closure_osf): Mark hidden.
        * src/alpha/ffitarget.h (FFI_LAST_ABI): Tidy definition.
        * src/alpha/osf.S (ffi_call_osf, ffi_closure_osf): Mark hidden.
        (load_table): Handle 128-bit long double.

        * testsuite/libffi.call/float4.c: Add -mieee for alpha.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123622 138bc75d-0d04-0410-961f-82ee72b054a4
libffi/ChangeLog
libffi/configure
libffi/configure.ac
libffi/include/ffi.h.in
libffi/src/alpha/ffi.c
libffi/src/alpha/ffitarget.h
libffi/src/alpha/osf.S
libffi/src/types.c
libffi/testsuite/libffi.call/float4.c