2004-08-10 Andrew Haley <aph@redhat.com>
* src/x86/ffi64.c (ffi_prep_args ): 8-align all stack arguments.
From-SVN: r85753
+2004-08-10 Andrew Haley <aph@redhat.com>
+
+ * src/x86/ffi64.c (ffi_prep_args ): 8-align all stack arguments.
+
2004-08-01 Robert Millan <robertmh@gnu.org>
* configure.ac: Detect knetbsd-gnu and kfreebsd-gnu.
{
/* Pass this argument in memory. */
argp = (void *)ALIGN(argp, (*p_arg)->alignment);
+ /* Stack arguments are *always* at least 8 byte aligned. */
+ argp = (void *)ALIGN(argp, 8);
memcpy (argp, *p_argv, (*p_arg)->size);
argp += (*p_arg)->size;
}