ffi_darwin.c (flush_icache): ';' is a comment character on Darwin, use '\n\t' instead.
authorGeoffrey Keating <geoffk@apple.com>
Wed, 30 Jun 2004 09:55:13 +0000 (09:55 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Wed, 30 Jun 2004 09:55:13 +0000 (09:55 +0000)
* src/powerpc/ffi_darwin.c (flush_icache): ';' is a comment
character on Darwin, use '\n\t' instead.

From-SVN: r83899

libffi/ChangeLog
libffi/src/powerpc/ffi_darwin.c

index e043ec0e2515eacdd1a4061982d9af0b33383902..b76047f7e4e18717f3d3ed3b3a405b6cc8d1b90c 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-30  Geoffrey Keating  <geoffk@apple.com>
+
+       * src/powerpc/ffi_darwin.c (flush_icache): ';' is a comment
+       character on Darwin, use '\n\t' instead.
+
 2004-06-26  Matthias Klose  <doko@debian.org>
 
        * libtool-version: Fix typo in revision/age.
index 39b3cbb8c4ad4f38f78c57d434a18868c5036f4d..6081b2f908553a7e73225e37f33d6f95ee1bbc76 100644 (file)
@@ -530,11 +530,11 @@ flush_icache(char *addr)
 {
 #ifndef _AIX
   __asm__ volatile (
-               "dcbf 0,%0;"
-               "sync;"
-               "icbi 0,%0;"
-               "sync;"
-               "isync;"
+               "dcbf 0,%0\n"
+               "\tsync\n"
+               "\ticbi 0,%0\n"
+               "\tsync\n"
+               "\tisync"
                : : "r"(addr) : "memory");
 #endif
 }