Commit c930d8a5 by Michael Ritzert Committed by Andreas Jaeger

ffi64.c (ffi_prep_args): Cast the RHS of an assignment instead of the LHS.

2004-01-21  Michael Ritzert  <ritzert@t-online.de>

	* ffi64.c (ffi_prep_args): Cast the RHS of an assignment instead
	of the LHS.

From-SVN: r76261
parent 13544b81
2004-01-21 Michael Ritzert <ritzert@t-online.de>
* ffi64.c (ffi_prep_args): Cast the RHS of an assignment instead
of the LHS.
2004-01-12 Andreas Tobler <a.tobler@schweiz.ch> 2004-01-12 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_32 for * testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_32 for
...@@ -421,7 +426,7 @@ ...@@ -421,7 +426,7 @@
* src/powerpc/ffi.c (ffi_closure_helper_SYSV) Handle struct * src/powerpc/ffi.c (ffi_closure_helper_SYSV) Handle struct
passing correctly. passing correctly.
2003-09-09 Alan Modra <amodra@bigpond.net.au> 2003-09-09 Alan Modra <amodra@bigpond.net.au>
* configure: Regenerate. * configure: Regenerate.
...@@ -430,7 +435,7 @@ ...@@ -430,7 +435,7 @@
* Makefile.am: Remove build rules for ffitest. * Makefile.am: Remove build rules for ffitest.
* Makefile.in: Rebuilt. * Makefile.in: Rebuilt.
2003-09-04 Andreas Tobler <a.tobler@schweiz.ch> 2003-09-04 Andreas Tobler <a.tobler@schweiz.ch>
* src/java_raw_api.c: Include <stdlib.h> to fix compiler warning * src/java_raw_api.c: Include <stdlib.h> to fix compiler warning
...@@ -445,7 +450,7 @@ ...@@ -445,7 +450,7 @@
* testsuite/Makefile.am: New file. * testsuite/Makefile.am: New file.
* testsuite/Makefile.in: Built * testsuite/Makefile.in: Built
* testsuite/lib/libffi-dg.exp: New file. * testsuite/lib/libffi-dg.exp: New file.
* testsuite/config/default.exp: Likewise. * testsuite/config/default.exp: Likewise.
* testsuite/libffi.call/call.exp: Likewise. * testsuite/libffi.call/call.exp: Likewise.
* testsuite/libffi.call/ffitest.h: Likewise. * testsuite/libffi.call/ffitest.h: Likewise.
...@@ -497,12 +502,12 @@ ...@@ -497,12 +502,12 @@
* testsuite/libffi.call/struct6.c: Likewise. * testsuite/libffi.call/struct6.c: Likewise.
* testsuite/libffi.call/struct7.c: Likewise. * testsuite/libffi.call/struct7.c: Likewise.
* testsuite/libffi.call/struct8.c: Likewise. * testsuite/libffi.call/struct8.c: Likewise.
* testsuite/libffi.call/struct9.c: Likewise. * testsuite/libffi.call/struct9.c: Likewise.
* testsuite/libffi.special/special.exp: New file. * testsuite/libffi.special/special.exp: New file.
* testsuite/libffi.special/ffitestcxx.h: Likewise. * testsuite/libffi.special/ffitestcxx.h: Likewise.
* testsuite/libffi.special/unwindtest.cc: Likewise. * testsuite/libffi.special/unwindtest.cc: Likewise.
2003-08-13 Kaz Kojima <kkojima@gcc.gnu.org> 2003-08-13 Kaz Kojima <kkojima@gcc.gnu.org>
* src/sh/ffi.c (OFS_INT16): Set 0 for little endian case. Update * src/sh/ffi.c (OFS_INT16): Set 0 for little endian case. Update
...@@ -646,11 +651,11 @@ ...@@ -646,11 +651,11 @@
* libffi/src/powerpc/darwin_closure.S: * libffi/src/powerpc/darwin_closure.S:
Fix alignement bug, allocate 8 bytes for the result. Fix alignement bug, allocate 8 bytes for the result.
* libffi/src/powerpc/aix_closure.S: * libffi/src/powerpc/aix_closure.S:
Likewise. Likewise.
* libffi/src/powerpc/ffi_darwin.c: * libffi/src/powerpc/ffi_darwin.c:
Update stackframe description for aix/darwin_closure.S. Update stackframe description for aix/darwin_closure.S.
2003-02-06 Jakub Jelinek <jakub@redhat.com> 2003-02-06 Jakub Jelinek <jakub@redhat.com>
* src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility * src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility
...@@ -663,7 +668,7 @@ ...@@ -663,7 +668,7 @@
for changes to the libffi_basedir definition. for changes to the libffi_basedir definition.
(libffi_basedir): Remove ${srcdir} from value and include trailing (libffi_basedir): Remove ${srcdir} from value and include trailing
slash if nonempty. slash if nonempty.
* configure: Regenerate. * configure: Regenerate.
2003-01-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> 2003-01-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
......
...@@ -288,7 +288,7 @@ ffi_prep_args (stackLayout *stack, extended_cif *ecif) ...@@ -288,7 +288,7 @@ ffi_prep_args (stackLayout *stack, extended_cif *ecif)
gprcount = ssecount = 0; gprcount = ssecount = 0;
if (ecif->cif->rtype->type != FFI_TYPE_VOID if (ecif->cif->rtype->type != FFI_TYPE_VOID
&& examine_argument (ecif->cif->rtype, 1, &g, &s) == 0) && examine_argument (ecif->cif->rtype, 1, &g, &s) == 0)
(void *)stack->gpr[gprcount++] = ecif->rvalue; stack->gpr[gprcount++] = (long) ecif->rvalue;
for (i=ecif->cif->nargs, p_arg=ecif->cif->arg_types, p_argv = ecif->avalue; for (i=ecif->cif->nargs, p_arg=ecif->cif->arg_types, p_argv = ecif->avalue;
i!=0; i--, p_arg++, p_argv++) i!=0; i--, p_arg++, p_argv++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment