ports/lang/go/patches/patch-src_runtime_proc_go

28 lines
814 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: src/runtime/proc.go
--- src/runtime/proc.go.orig
+++ src/runtime/proc.go
2024-03-24 02:13:10 +00:00
@@ -1624,10 +1624,8 @@ func startTheWorldWithSema(now int64, w worldStop) int
2023-08-16 22:26:55 +00:00
// via libcall.
func usesLibcall() bool {
switch GOOS {
- case "aix", "darwin", "illumos", "ios", "solaris", "windows":
+ case "aix", "darwin", "illumos", "ios", "openbsd", "solaris", "windows":
return true
- case "openbsd":
2024-03-24 02:13:10 +00:00
- return GOARCH != "mips64"
2023-08-16 22:26:55 +00:00
}
return false
}
2024-03-24 02:13:10 +00:00
@@ -1636,10 +1634,8 @@ func usesLibcall() bool {
2023-08-16 22:26:55 +00:00
// system-allocated stack.
func mStackIsSystemAllocated() bool {
switch GOOS {
- case "aix", "darwin", "plan9", "illumos", "ios", "solaris", "windows":
+ case "aix", "darwin", "illumos", "ios", "openbsd", "plan9", "solaris", "windows":
return true
- case "openbsd":
2024-03-24 02:13:10 +00:00
- return GOARCH != "mips64"
2023-08-16 22:26:55 +00:00
}
return false
}