]> Cypherpunks repositories - gostls13.git/commit
syscall: remove linknames to runtime symbols for aix/ppc64
authorClément Chigot <clement.chigot@atos.net>
Thu, 13 Dec 2018 12:37:57 +0000 (13:37 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Fri, 14 Dec 2018 09:10:02 +0000 (09:10 +0000)
commit976bab6003bdc72ca25954d048f340a34d8e717a
tree85006ca407c1c54fe876d1f5667c82074e84aa47
parent38e7177c949016c3d74411fa7ea1c300ae85c0fa
syscall: remove linknames to runtime symbols for aix/ppc64

Replaces //go:linkname by assembly functions for syscall
functions on aix/ppc64.
Since the new runtime internal ABI, this was triggering an error if
syscall.Syscall6 was called by others packages like x/sys/unix.
This commit should remove every future occurences of this problem.

Fixes #28769

Change-Id: I6a4bf77472ee1e974bdb76b27e74275e568f5a76
Reviewed-on: https://go-review.googlesource.com/c/153997
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
src/runtime/syscall_aix.go
src/syscall/asm_aix_ppc64.s [new file with mode: 0644]