]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: fix plan9/386 RawSyscall6
authorJosh Bleecher Snyder <josharian@gmail.com>
Fri, 26 Aug 2016 00:19:28 +0000 (17:19 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Fri, 26 Aug 2016 00:20:34 +0000 (00:20 +0000)
Fixes the build.

Change-Id: I34bcae08cfb43257aeb9086336966ef85f15fe1d
Reviewed-on: https://go-review.googlesource.com/27815
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/syscall/asm_plan9_386.s

index 59764a7b66f77042c857184c81142b308c6116f5..2c45eabfe6bdfdb30a70ba4a4a2d037056d148c9 100644 (file)
@@ -107,7 +107,7 @@ TEXT ·RawSyscall(SB),NOSPLIT,$0-28
        RET
 
 TEXT   ·RawSyscall6(SB),NOSPLIT,$0-40
-       MOVL    trap+0(SP), AX  // syscall entry
+       MOVL    trap+0(FP), AX  // syscall entry
        // slide args down on top of system call number
        LEAL    8(SP), SI
        LEAL    4(SP), DI