aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/stack.go')
-rw-r--r--src/runtime/stack.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/stack.go b/src/runtime/stack.go
index d5d09ba7d7..22a0053fdb 100644
--- a/src/runtime/stack.go
+++ b/src/runtime/stack.go
@@ -1295,7 +1295,10 @@ type stackObjectRecord struct {
typ *_type
}
+// This is exported as ABI0 via linkname so obj can call it.
+//
//go:nosplit
+//go:linkname morestackc
func morestackc() {
throw("attempt to execute system stack code on user stack")
}