]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Improve libffi comments
authorMatthias Klose <doko@ubuntu.com>
Fri, 6 Aug 2010 05:28:37 +0000 (05:28 +0000)
committerAnthony Green <green@gcc.gnu.org>
Fri, 6 Aug 2010 05:28:37 +0000 (05:28 +0000)
From-SVN: r162936

libffi/ChangeLog
libffi/src/x86/ffi.c
libffi/src/x86/ffi64.c

index 9a0cb3cf92f776777ed1b81a765161ab1d141bbc..8cf0b9a3eb988c38adffe24f3570e1b9613003e2 100644 (file)
        * libffi/src/x86/unix64.S (.eh_frame)
        [HAVE_AS_X86_64_UNWIND_SECTION_TYPE]: Use @unwind section type.
 
+2010-03-14  Matthias Klose  <doko@ubuntu.com>
+
+       * src/x86/ffi64.c: Fix typo in comment.
+       * src/x86/ffi.c: Use /* ... */ comment style.
+
 2010-02-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * doc/libffi.texi (The Closure API): Fix typo.
index d99528b11c7e60c2919d7a5c33897ebda3c03f8e..80496532a30882a23b372b183c458c5e280a2a8b 100644 (file)
@@ -585,10 +585,10 @@ ffi_prep_raw_closure_loc (ffi_raw_closure* closure,
     return FFI_BAD_ABI;
   }
 
-  // we currently don't support certain kinds of arguments for raw
-  // closures.  This should be implemented by a separate assembly language
-  // routine, since it would require argument processing, something we
-  // don't do now for performance.
+  /* we currently don't support certain kinds of arguments for raw
+     closures.  This should be implemented by a separate assembly
+     language routine, since it would require argument processing,
+     something we don't do now for performance.  */
 
   for (i = cif->nargs-1; i >= 0; i--)
     {
index 51ada0e879faf88abc339302ca47cee9001a1702..07a2627b1f291b0d562df2d0cf1f33c946f580c3 100644 (file)
@@ -50,9 +50,10 @@ extern void ffi_call_unix64 (void *args, unsigned long bytes, unsigned flags,
    gcc/config/i386/i386.c. Do *not* change one without the other.  */
 
 /* Register class used for passing given 64bit part of the argument.
-   These represent classes as documented by the PS ABI, with the exception
-   of SSESF, SSEDF classes, that are basically SSE class, just gcc will
-   use SF or DFmode move instead of DImode to avoid reformating penalties.
+   These represent classes as documented by the PS ABI, with the
+   exception of SSESF, SSEDF classes, that are basically SSE class,
+   just gcc will use SF or DFmode move instead of DImode to avoid
+   reformatting penalties.
 
    Similary we play games with INTEGERSI_CLASS to use cheaper SImode moves
    whenever possible (upper half does contain padding).  */