diff options
author | Jose Flavio Aguilar Paulino <jflavio@br.ibm.com> | 2007-09-12 21:52:25 -0600 |
---|---|---|
committer | David Mosberger-Tang <davidm@koala.mostang.com> | 2007-09-12 21:52:25 -0600 |
commit | 4499bb29a6214b5df5b3b21e03c6b4f3c8f26cfd (patch) | |
tree | cb0ae28cc5daff63feebb678437f76cd50e8d6a9 /tests | |
parent | 6d75df39b5dd602be2bc3b8edc8b745d6224fd71 (diff) | |
download | libunwind-4499bb29a6214b5df5b3b21e03c6b4f3c8f26cfd.tar.gz |
[PPC32] First check-in to add preliminary support for Linux/PPC32.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/flush-cache.S | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/flush-cache.S b/tests/flush-cache.S index 016113e6..8243f82d 100644 --- a/tests/flush-cache.S +++ b/tests/flush-cache.S @@ -47,7 +47,17 @@ flush_cache: bv %r0(%rp) .procend #elif defined(__powerpc64__) -# warning IMPLEMENT ME!! +# warning IMPLEMENT ME FOR PPC64!! + .globl flush_cache +flush_cache: + lwz 11, 0(1) ; + lwz 0, 4(11) ; + mtlr 0 ; + lwz 31, -4(11) ; + mr 1, 11 ; + blr +#elif defined(__powerpc__) +# warning IMPLEMENT ME FOR PPC32!! .globl flush_cache flush_cache: lwz 11, 0(1) ; |