]> Cypherpunks repositories - gostls13.git/commit
runtime: correct syscall10/syscall10X on openbsd/amd64
authorJoel Sing <joel@sing.id.au>
Wed, 27 Jan 2021 12:09:57 +0000 (23:09 +1100)
committerJoel Sing <joel@sing.id.au>
Thu, 28 Jan 2021 16:02:12 +0000 (16:02 +0000)
commit725a642c2d0b42e2b4435dfbfbff6b138d37d2ce
tree5b25e91610b13c05b669c7626fc3bf1d415bf5d0
parent4b068cafb5a5e094dd0b7ed37ff73e08309a39e7
runtime: correct syscall10/syscall10X on openbsd/amd64

The syscall10/syscall10X implementation uses an incorrect stack offset for
arguments a7 to a10. Correct this so that the syscall arguments work as
intended.

Updates #36435
Fixes #43927

Change-Id: Ia7ae6cc8c89f50acfd951c0f271f3b3309934499
Reviewed-on: https://go-review.googlesource.com/c/go/+/287252
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/runtime/sys_openbsd_amd64.s