commit | 5219a1e1c5f8dfaadf9d314b1289417a73674973 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Wed May 29 10:45:00 2019 +0200 |
committer | Russ Cox <rsc@golang.org> | Wed May 29 13:00:38 2019 +0000 |
tree | 5562d8f60caf665e337b6c4ed94caaf25a50f9d5 | |
parent | cc920278c2cc35e068854c6a2ab722b2302c7002 [diff] |
cpu: add missing linkname for libc_getsystemcfg on aix/ppc64 This fixes the aix/ppc64 build after CL 179178 Change-Id: Ie8d762b533c05d6ca262030b34ae137140896d44 Reviewed-on: https://go-review.googlesource.com/c/sys/+/179317 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
diff --git a/cpu/syscall_aix_ppc64_gc.go b/cpu/syscall_aix_ppc64_gc.go index 15a8b85..78fe25e 100644 --- a/cpu/syscall_aix_ppc64_gc.go +++ b/cpu/syscall_aix_ppc64_gc.go
@@ -18,6 +18,8 @@ //go:cgo_import_dynamic libc_getsystemcfg getsystemcfg "libc.a/shr_64.o" +//go:linkname libc_getsystemcfg libc_getsystemcfg + type syscallFunc uintptr var libc_getsystemcfg syscallFunc