From 4771e9affc978d4a4c2b65c57471488e3cca2833 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 18 Dec 2001 16:50:05 +0000 Subject: [PATCH] Applied a cothread setup patch for IRIX from Nick Blievers Original commit message from CVS: Applied a cothread setup patch for IRIX from Nick Blievers --- gst/gstarch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gstarch.h b/gst/gstarch.h index 1e2f1ba1bf..cc908bcbdb 100644 --- a/gst/gstarch.h +++ b/gst/gstarch.h @@ -134,10 +134,10 @@ struct minimal_stackframe { #elif defined(HAVE_CPU_MIPS) #define GST_ARCH_SET_SP(stackpointer) \ - __asm__("move $sp,%0\n\t" : : "r"(stackpointer)); + __asm__("lw $sp,0(%0)\n\t" : : "r"(stackpointer)); #define GST_ARCH_CALL(target) \ - __asm__("move $25,%1\n\t" /* call via $25 */ \ + __asm__("lw $25,0(%0)\n\t" /* call via $25 */ \ "jal $25\n\t" : : "r"(target)); /* assuming the stackframe is 16 bytes */