* src/powerpc/ffi_darwin.c (flush_icache): ';' is a comment
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Jun 2004 09:55:13 +0000 (09:55 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Jun 2004 09:55:13 +0000 (09:55 +0000)
character on Darwin, use '\n\t' instead.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83899 138bc75d-0d04-0410-961f-82ee72b054a4

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

index e043ec0..b76047f 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 39b3cbb..6081b2f 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
 }