OSDN Git Service

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 2ebf030..7b11740 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"