From: Geoffrey Keating Date: Wed, 30 Jun 2004 09:55:13 +0000 (+0000) Subject: ffi_darwin.c (flush_icache): ';' is a comment character on Darwin, use '\n\t' instead. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6a0022b28265f3676f7273a05afb4f6d1d7fd14;p=gcc.git ffi_darwin.c (flush_icache): ';' is a comment character on Darwin, use '\n\t' instead. * src/powerpc/ffi_darwin.c (flush_icache): ';' is a comment character on Darwin, use '\n\t' instead. From-SVN: r83899 --- diff --git a/libffi/ChangeLog b/libffi/ChangeLog index e043ec0e251..b76047f7e4e 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,8 @@ +2004-06-30 Geoffrey Keating + + * src/powerpc/ffi_darwin.c (flush_icache): ';' is a comment + character on Darwin, use '\n\t' instead. + 2004-06-26 Matthias Klose * libtool-version: Fix typo in revision/age. diff --git a/libffi/src/powerpc/ffi_darwin.c b/libffi/src/powerpc/ffi_darwin.c index 39b3cbb8c4a..6081b2f9085 100644 --- a/libffi/src/powerpc/ffi_darwin.c +++ b/libffi/src/powerpc/ffi_darwin.c @@ -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 }