github.com/lzhfromustc/gofuzz@v0.0.0-20211116160056-151b3108bbd1/runtime/vdso_linux_mips64x.go (about) 1 // Copyright 2019 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. 4 5 // +build linux 6 // +build mips64 mips64le 7 8 package runtime 9 10 const ( 11 // vdsoArrayMax is the byte-size of a maximally sized array on this architecture. 12 // See cmd/compile/internal/mips64/galign.go arch.MAXWIDTH initialization. 13 vdsoArrayMax = 1<<50 - 1 14 ) 15 16 // see man 7 vdso : mips 17 var vdsoLinuxVersion = vdsoVersionKey{"LINUX_2.6", 0x3ae75f6} 18 19 // The symbol name is not __kernel_clock_gettime as suggested by the manpage; 20 // according to Linux source code it should be __vdso_clock_gettime instead. 21 var vdsoSymbolKeys = []vdsoSymbolKey{ 22 {"__vdso_clock_gettime", 0xd35ec75, 0x6e43a318, &vdsoClockgettimeSym}, 23 } 24 25 // initialize to fall back to syscall 26 var ( 27 vdsoClockgettimeSym uintptr = 0 28 )