OSDN Git Service

2004-03-16 Hosaka Yuji <hos@tamanegi.org>
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Mar 2004 19:17:33 +0000 (19:17 +0000)
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Mar 2004 19:17:33 +0000 (19:17 +0000)
commit021bf23709c411ed322af98c757e734642da1a4f
treea9248c52cede4811ca61e2f25d9eb9e1416918fa
parent8a42330363bbb06b831d4c0934048d0cf99e39dd
2004-03-16  Hosaka Yuji  <hos@tamanegi.org>

* src/types.c: Fix alignment size of X86_WIN32 case int64 and
double.
* src/x86/ffi.c (ffi_prep_args): Replace ecif->cif->rtype->type
with ecif->cif->flags.
(ffi_call, ffi_prep_incoming_args_SYSV): Replace cif->rtype->type
with cif->flags.
(ffi_prep_cif_machdep): Add X86_WIN32 struct case.
(ffi_closure_SYSV): Add 1 or 2-bytes struct case for X86_WIN32.
* src/x86/win32.S (retstruct1b, retstruct2b, sc_retstruct1b,
sc_retstruct2b): Add for 1 or 2-bytes struct case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79542 138bc75d-0d04-0410-961f-82ee72b054a4
libffi/ChangeLog
libffi/src/types.c
libffi/src/x86/ffi.c
libffi/src/x86/win32.S