Fix powerpc asm

Original commit message from CVS:
Fix powerpc asm
This commit is contained in:
David Schleef 2003-12-18 09:41:49 +00:00
parent 6b9383ce6c
commit 0e86531c8b

View file

@ -46,11 +46,11 @@
#elif defined (HAVE_CPU_PPC) && defined(__GNUC__) #elif defined (HAVE_CPU_PPC) && defined(__GNUC__)
#define GST_ARCH_SET_SP(stackpointer) \ #define GST_ARCH_SET_SP(stackpointer) \
__asm__("lwz %%r1,%0" : : "m"(stackpointer)) __asm__("lwz r1,%0" : : "m"(stackpointer))
#define GST_ARCH_CALL(target) \ #define GST_ARCH_CALL(target) \
__asm__( "mr %%r0,%0\n\t" \ __asm__( "mr r0,%0\n\t" \
"mtlr %%r0\n\t" \ "mtlr r0\n\t" \
"blrl" : : "r"(target) ); "blrl" : : "r"(target) );
struct minimal_ppc_stackframe { struct minimal_ppc_stackframe {