summaryrefslogtreecommitdiff
path: root/tests/flush-cache.S
diff options
context:
space:
mode:
authorJose Flavio Aguilar Paulino <jflavio@br.ibm.com>2007-08-27 09:11:37 -0600
committerDavid Mosberger-Tang <davidm@koala.mostang.com>2007-08-27 09:11:37 -0600
commit32e2187fab8d7a0adaa099b7bdaefca50628de88 (patch)
tree260688d562adfaeeb0449570fd514ccec7d92fa1 /tests/flush-cache.S
parent3e24581adca378307322555d2b5e70439dbc9c19 (diff)
downloadlibunwind-32e2187fab8d7a0adaa099b7bdaefca50628de88.tar.gz
[PPC64] Get "make check" to work on PPC64 Linux. Add a README entry
describing the expected results.
Diffstat (limited to 'tests/flush-cache.S')
-rw-r--r--tests/flush-cache.S11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/flush-cache.S b/tests/flush-cache.S
index d856a232..016113e6 100644
--- a/tests/flush-cache.S
+++ b/tests/flush-cache.S
@@ -46,7 +46,16 @@ flush_cache:
.callinfo
bv %r0(%rp)
.procend
-
+#elif defined(__powerpc64__)
+# warning IMPLEMENT ME!!
+ .globl flush_cache
+flush_cache:
+ lwz 11, 0(1) ;
+ lwz 0, 4(11) ;
+ mtlr 0 ;
+ lwz 31, -4(11) ;
+ mr 1, 11 ;
+ blr
#else
# error Need flush_cache code for this architecture.
#endif