/***** PowerPC *****/
#elif defined (HAVE_CPU_PPC) && defined(__GNUC__)
-/* should bring this in line with others and use an "r" */
#define GST_ARCH_SET_SP(stackpointer) \
- __asm__("lwz 1,%0" : : "m"(stackpointer))
+ __asm__("lwz %%r1,%0" : : "m"(stackpointer))
#define GST_ARCH_CALL(target) \
- __asm__( "mr 0,%0\n\t" \
- "mtlr 0\n\t" \
+ __asm__( "mr %%r0,%0\n\t" \
+ "mtlr %%r0\n\t" \
"blrl" : : "r"(target) );
struct minimal_ppc_stackframe {