1 Index: libffi/ChangeLog
2 ===================================================================
3 --- libffi.orig/ChangeLog
6 +2010-03-14 Matthias Klose <doko@ubuntu.com>
8 + * src/x86/ffi64.c: Fix typo in comment.
9 + * src/x86/ffi.c: Use /* ... */ comment style.
11 2010-07-07 Neil Roberts <neil@linux.intel.com>
13 * src/x86/sysv.S (ffi_call_SYSV): Align the stack pointer to
14 Index: libffi/src/x86/ffi.c
15 ===================================================================
16 --- libffi.orig/src/x86/ffi.c
17 +++ libffi/src/x86/ffi.c
18 @@ -585,10 +585,10 @@ ffi_prep_raw_closure_loc (ffi_raw_closur
22 - // we currently don't support certain kinds of arguments for raw
23 - // closures. This should be implemented by a separate assembly language
24 - // routine, since it would require argument processing, something we
25 - // don't do now for performance.
26 + /* we currently don't support certain kinds of arguments for raw
27 + closures. This should be implemented by a separate assembly
28 + language routine, since it would require argument processing,
29 + something we don't do now for performance. */
31 for (i = cif->nargs-1; i >= 0; i--)
33 Index: libffi/src/x86/ffi64.c
34 ===================================================================
35 --- libffi.orig/src/x86/ffi64.c
36 +++ libffi/src/x86/ffi64.c
37 @@ -50,9 +50,10 @@ extern void ffi_call_unix64 (void *args,
38 gcc/config/i386/i386.c. Do *not* change one without the other. */
40 /* Register class used for passing given 64bit part of the argument.
41 - These represent classes as documented by the PS ABI, with the exception
42 - of SSESF, SSEDF classes, that are basically SSE class, just gcc will
43 - use SF or DFmode move instead of DImode to avoid reformating penalties.
44 + These represent classes as documented by the PS ABI, with the
45 + exception of SSESF, SSEDF classes, that are basically SSE class,
46 + just gcc will use SF or DFmode move instead of DImode to avoid
47 + reformatting penalties.
49 Similary we play games with INTEGERSI_CLASS to use cheaper SImode moves
50 whenever possible (upper half does contain padding). */