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
This commit is contained in:
Geoffrey Keating 2004-06-30 09:55:13 +00:00 committed by Geoffrey Keating
parent 852a13111d
commit e6a0022b28
2 changed files with 10 additions and 5 deletions

View 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.

View 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
}