mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-08 17:19:25 +00:00
Redo last patch correctly.
Original commit message from CVS: Redo last patch correctly.
This commit is contained in:
parent
5ef86caf3c
commit
f0187b294c
|
@ -45,14 +45,13 @@
|
|||
/***** 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 %%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" \
|
||||
"blrl" : : "r"(target) );
|
||||
__asm__( "mr r0,%0\n\t" \
|
||||
"mtlr r0\n\t" \
|
||||
"blrl" : : "r"(target) : "r0" );
|
||||
|
||||
struct minimal_ppc_stackframe {
|
||||
unsigned long back_chain;
|
||||
|
|
Loading…
Reference in a new issue