mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
Fix powerpc asm
Original commit message from CVS: Fix powerpc asm
This commit is contained in:
parent
6b9383ce6c
commit
0e86531c8b
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue