]> Cypherpunks repositories - gostls13.git/commit
runtime: correct assembly for openbsd/arm64
authorJoel Sing <joel@sing.id.au>
Mon, 6 Jan 2020 17:25:57 +0000 (04:25 +1100)
committerJoel Sing <joel@sing.id.au>
Tue, 7 Jan 2020 16:24:34 +0000 (16:24 +0000)
commitbc9194752749640c61c339140cf11d13e6262a6a
tree104b640801d91a80e9b6110e9533c6ada4bdaf3f
parent25a14b19abd3b9e16f47c6249fda1998431ce5be
runtime: correct assembly for openbsd/arm64

Correct the pipe and pipe2 implementations by using the correct RSP offsets,
used to store and return the file descriptor array.

Fix setNonblock by using the correct immediate value for O_NONBLOCK and
replace EOR (exclusive OR) with ORR.

Also correct the write1 implementation, which has a uintptr value for the fd
argument.

Change-Id: Ibca77af44b649e8bb330ca54f9c36a7a8b0f9cea
Reviewed-on: https://go-review.googlesource.com/c/go/+/212765
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/runtime/sys_openbsd_arm64.s