]> git.pld-linux.org Git - packages/gcc.git/blob - gcc-ffi64.patch
- fix from
[packages/gcc.git] / gcc-ffi64.patch
1 --- gcc/gcc/libffi/src/x86/ffi64.c      2004/01/21 06:11:08     1.6
2 +++ gcc/gcc/libffi/src/x86/ffi64.c      2004/10/12 16:47:26     1.6.6.1
3 @@ -341,6 +341,8 @@
4         {
5           /* Pass this argument in memory.  */
6           argp = (void *)ALIGN(argp, (*p_arg)->alignment);
7 +         /* Stack arguments are *always* at least 8 byte aligned.  */
8 +         argp = (void *)ALIGN(argp, 8);
9           memcpy (argp, *p_argv, (*p_arg)->size);
10           argp += (*p_arg)->size;
11         }
This page took 0.025316 seconds and 3 git commands to generate.