Fix for HPPA asm code
authorDavid Schleef <ds@schleef.org>
Thu, 17 Oct 2002 23:02:59 +0000 (23:02 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 17 Oct 2002 23:02:59 +0000 (23:02 +0000)
Original commit message from CVS:
Fix for HPPA asm code

gst/gstarch.h

index cc908bc..4721cf5 100644 (file)
@@ -152,7 +152,7 @@ struct minimal_stackframe {
     __asm__("copy %0,%%sp\n\t" : : "r"(stackpointer));
 
 #define GST_ARCH_CALL(target) \
-    __asm__("copy $1,%%r22\n\t"                /* set call address */ \
+    __asm__("copy %0,%%r22\n\t"                /* set call address */ \
             ".CALL\n\t"                        /* call pseudo insn (why?) */ \
             "bl $$dyncall,%%r31\n\t" : : "r"(target));