...

Source file src/runtime/cgo/openbsd.go

Documentation: runtime/cgo

		 1  // Copyright 2010 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  //go:build openbsd
		 6  // +build openbsd
		 7  
		 8  package cgo
		 9  
		10  import _ "unsafe" // for go:linkname
		11  
		12  // Supply __guard_local because we don't link against the standard
		13  // OpenBSD crt0.o and the libc dynamic library needs it.
		14  
		15  //go:linkname _guard_local __guard_local
		16  
		17  var _guard_local uintptr
		18  
		19  // This is normally marked as hidden and placed in the
		20  // .openbsd.randomdata section.
		21  //go:cgo_export_dynamic __guard_local __guard_local
		22  

View as plain text