1 // Copyright 2018 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 //go:build linux && (ppc64 || ppc64le)
10 // vdsoArrayMax is the byte-size of a maximally sized array on this architecture.
11 // See cmd/compile/internal/ppc64/galign.go arch.MAXWIDTH initialization.
12 vdsoArrayMax = 1<<50 - 1
15 var vdsoLinuxVersion = vdsoVersionKey{"LINUX_2.6.15", 0x75fcba5}
17 var vdsoSymbolKeys = []vdsoSymbolKey{
18 {"__kernel_clock_gettime", 0xb0cd725, 0xdfa941fd, &vdsoClockgettimeSym},
21 // initialize with vsyscall fallbacks
23 vdsoClockgettimeSym uintptr = 0