]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: mark amd64 runtime·rt0_go as NOFRAME
authorqmuntal <quimmuntal@gmail.com>
Wed, 25 Jan 2023 08:21:06 +0000 (09:21 +0100)
committerGopher Robot <gobot@golang.org>
Wed, 25 Jan 2023 15:14:29 +0000 (15:14 +0000)
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>
src/runtime/asm_amd64.s

index 6720c20f15c955f066e0d8fddfc3ce0fed03611d..f5a83f2b881bca4a63ccedf5d007de5b21c62f6f 100644 (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