fix build regression on mips n32 due to typo in new inline syscall
authorRich Felker <dalias@aerifal.cx>
Sun, 5 May 2019 15:10:42 +0000 (11:10 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 5 May 2019 15:10:42 +0000 (11:10 -0400)
commit 1bcdaeee6e659f1d856717c9aa562a068f2f3bd4 introduced the
regression.

arch/mipsn32/syscall_arch.h

index 2ebf03066242a87709f91010a69e13c7f39ca5c9..7b11740f07b78b7e715ca741d82d726488213a3a 100644 (file)
@@ -124,7 +124,7 @@ static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo
        register long r6 __asm__("$6") = c;
        register long r7 __asm__("$7") = d;
        register long r8 __asm__("$8") = e;
-       register long r8 __asm__("$9") = f;
+       register long r9 __asm__("$9") = f;
        register long r2 __asm__("$2");
        __asm__ __volatile__ (
                "addu $2,$0,%2 ; syscall"