summaryrefslogtreecommitdiff
path: root/src/syscall/asm_linux_arm.s
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-14 22:27:03 -0400
committerRuss Cox <rsc@golang.org>2014-09-14 22:27:03 -0400
commit3e38d6e25d609b165405c2f13480f4f2501f8ca1 (patch)
tree4433aaab33f7510dd55c53881a572aa30b479c66 /src/syscall/asm_linux_arm.s
parent210ef0c246a014bc413895dbd9aa536aae268fe4 (diff)
downloadgo-3e38d6e25d609b165405c2f13480f4f2501f8ca1.tar.gz
syscall: add GO_ARGS to Go-called assembly
Fixes sporadic linux/386 build failure (untyped args) and probably some others we haven't observed yet. Fixes issue 8727. TBR=iant R=golang-codereviews CC=bradfitz, golang-codereviews, iant, khr, r https://codereview.appspot.com/143930043
Diffstat (limited to 'src/syscall/asm_linux_arm.s')
-rw-r--r--src/syscall/asm_linux_arm.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/syscall/asm_linux_arm.s b/src/syscall/asm_linux_arm.s
index 0060a2171..945101381 100644
--- a/src/syscall/asm_linux_arm.s
+++ b/src/syscall/asm_linux_arm.s
@@ -111,6 +111,7 @@ ok2:
// Underlying system call is
// llseek(int fd, int offhi, int offlo, int64 *result, int whence)
TEXT ·seek(SB),NOSPLIT,$0-32
+ GO_ARGS
BL runtime·entersyscall(SB)
MOVW $SYS__LLSEEK, R7 // syscall entry
MOVW 4(SP), R0 // fd