feat(asm): emit the arm64 stack-split guard and morestack block

This commit is contained in:
2026-09-14 20:49:03 +02:00
parent 1d8e68c574
commit 8dc1e98ca1
6 changed files with 248 additions and 29 deletions
+1 -1
View File
@@ -393,7 +393,7 @@ func (img *Image) emitGOObject(pkgPath, srcPath string, pre []byte, minLC int, r
symRelocs[si] = append(symRelocs[si], rec[:]...)
continue
}
if r.External && r.Kind == RelCall && r.Name == goobjBuiltinMorestack {
if r.External && r.Name == goobjBuiltinMorestack {
// The stack-guard morestack call uses the toolchain's
// builtin reference.
var rec [23]byte