]> Cypherpunks repositories - gostls13.git/commit
runtime: fix wrong offset when calling ppc64x nanotime syscall
authorCarlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Fri, 17 Jan 2020 20:59:59 +0000 (17:59 -0300)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 20 Jan 2020 15:06:42 +0000 (15:06 +0000)
commit71239b4f491698397149868c88d2c851de2cd49b
tree35aacb371529d74c0c19a9f8b57e86b4108d4c4a
parentdf2999ef43ea49ce1578137017949c0ee660608a
runtime: fix wrong offset when calling ppc64x nanotime syscall

There is a wrong offset when getting the results of a clock_gettime
syscall. Although the syscall will never be called in native ppc64x,
QEMU doesn't implement VDSO, so it will return wrong values.

Fixes #36592

Change-Id: Icf838075228dcdd62cf2c1279aa983e5993d66ee
Reviewed-on: https://go-review.googlesource.com/c/go/+/215397
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
src/runtime/sys_linux_ppc64x.s