aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqmuntal <quimmuntal@gmail.com>2023-01-25 09:21:06 +0100
committerGopher Robot <gobot@golang.org>2023-01-25 15:14:29 +0000
commit7a5460ed9b53ac99805e6578cc67da8ef431c577 (patch)
tree9dd093426621b6d9fe85975ac3249d825dcc1974
parentcc82867f6bf650e6b48a6e87849e4fdd5b94ef70 (diff)
downloadgo-7a5460ed9b53ac99805e6578cc67da8ef431c577.tar.xz
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>
-rw-r--r--src/runtime/asm_amd64.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/asm_amd64.s b/src/runtime/asm_amd64.s
index 6720c20f15..f5a83f2b88 100644
--- a/src/runtime/asm_amd64.s
+++ b/src/runtime/asm_amd64.s
@@ -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