1
0
mirror of https://github.com/golang/go synced 2024-11-17 00:04:40 -07:00

runtime: mark amd64 runtime·rt0_go as NOFRAME

This CL adds the NOFRAME flag to runtime·rt0_go, which should
had been added in CL 459395 but didn't and broke fix windows-amd64-2008.

Change-Id: I4583f2034bf114e1f7aaddef9ba505f53536c3eb
Reviewed-on: https://go-review.googlesource.com/c/go/+/463120
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Quim Muntal <quimmuntal@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
This commit is contained in:
qmuntal 2023-01-25 09:21:06 +01:00 committed by Gopher Robot
parent cc82867f6b
commit 7a5460ed9b

View File

@ -156,7 +156,7 @@ GLOBL bad_cpu_msg<>(SB), RODATA, $84
#endif
TEXT runtime·rt0_go(SB),NOSPLIT|TOPFRAME,$0
TEXT runtime·rt0_go(SB),NOSPLIT|NOFRAME|TOPFRAME,$0
// copy arguments forward on an even stack
MOVQ DI, AX // argc
MOVQ SI, BX // argv