SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
18
lang/go/patches/patch-src_runtime_stubs_riscv64_go
Normal file
18
lang/go/patches/patch-src_runtime_stubs_riscv64_go
Normal file
|
@ -0,0 +1,18 @@
|
|||
Index: src/runtime/stubs_riscv64.go
|
||||
--- src/runtime/stubs_riscv64.go.orig
|
||||
+++ src/runtime/stubs_riscv64.go
|
||||
@@ -4,9 +4,14 @@
|
||||
|
||||
package runtime
|
||||
|
||||
+import "unsafe"
|
||||
+
|
||||
// Called from assembly only; declared for go vet.
|
||||
func load_g()
|
||||
func save_g()
|
||||
+
|
||||
+//go:noescape
|
||||
+func asmcgocall_no_g(fn, arg unsafe.Pointer)
|
||||
|
||||
// Used by reflectcall and the reflect package.
|
||||
//
|
Loading…
Add table
Add a link
Reference in a new issue