summaryrefslogtreecommitdiff
path: root/libffi/src
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2004-06-30 09:55:13 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2004-06-30 09:55:13 +0000
commite6a0022b28265f3676f7273a05afb4f6d1d7fd14 (patch)
treefd3c8f1f335d54eddde531ac59c0aa835c8b036a /libffi/src
parent852a13111dba712f147ea76b8924eda12d053644 (diff)
downloadgcc-e6a0022b28265f3676f7273a05afb4f6d1d7fd14.tar.gz
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
Diffstat (limited to 'libffi/src')
-rw-r--r--libffi/src/powerpc/ffi_darwin.c10
1 files changed, 5 insertions, 5 deletions
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
}