Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
authorroland <roland>
Mon, 1 Jul 1996 22:16:11 +0000 (22:16 +0000)
committerroland <roland>
Mon, 1 Jul 1996 22:16:11 +0000 (22:16 +0000)
* sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
Fix by Richard Henderson.

sysdeps/unix/alpha/sysdep.S

index 3e7666f..6540b80 100644 (file)
@@ -26,10 +26,10 @@ Cambridge, MA 02139, USA.  */
 #endif
 
 LEAF(__syscall_error, 0)
+       ldgp    gp, 0(t12)
        .prologue 1
 
        /* Store return value in errno... */
-       ldgp    gp, 0(t12)
        stl     v0, errno
 
        /* And just kick back a -1.  */