From 0e86531c8bcecbfd6cc6c48ee2d3c60c8139d1b2 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 18 Dec 2003 09:41:49 +0000 Subject: [PATCH] Fix powerpc asm Original commit message from CVS: Fix powerpc asm --- gst/gstarch.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/gstarch.h b/gst/gstarch.h index fe3bf242f5..50fef75001 100644 --- a/gst/gstarch.h +++ b/gst/gstarch.h @@ -46,11 +46,11 @@ #elif defined (HAVE_CPU_PPC) && defined(__GNUC__) #define GST_ARCH_SET_SP(stackpointer) \ - __asm__("lwz %%r1,%0" : : "m"(stackpointer)) + __asm__("lwz r1,%0" : : "m"(stackpointer)) #define GST_ARCH_CALL(target) \ - __asm__( "mr %%r0,%0\n\t" \ - "mtlr %%r0\n\t" \ + __asm__( "mr r0,%0\n\t" \ + "mtlr r0\n\t" \ "blrl" : : "r"(target) ); struct minimal_ppc_stackframe {