diff options
| author | qmuntal <quimmuntal@gmail.com> | 2023-02-08 10:27:20 +0100 |
|---|---|---|
| committer | Quim Muntal <quimmuntal@gmail.com> | 2023-02-23 16:32:43 +0000 |
| commit | 516753278df2eb4896ba8b3350bf5ca19ec4b1f0 (patch) | |
| tree | 29c7376f48629b02f40499c83e2f77703f5bf769 /src/cmd/internal | |
| parent | c0ac33c00614a2f36c88671ef7c520d246cd8bc9 (diff) | |
| download | go-516753278df2eb4896ba8b3350bf5ca19ec4b1f0.tar.xz | |
runtime: use explicit NOFRAME on dragonfly/amd64
This CL marks some dragonfly assembly functions as NOFRAME to avoid
relying on the implicit amd64 NOFRAME heuristic, where NOSPLIT functions
without stack were also marked as NOFRAME.
Updates #58378
Change-Id: I832a1a78d68a49f11df3b03fa9d50d4796bcac03
Reviewed-on: https://go-review.googlesource.com/c/go/+/466355
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/cmd/internal')
| -rw-r--r-- | src/cmd/internal/obj/x86/obj6.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/internal/obj/x86/obj6.go b/src/cmd/internal/obj/x86/obj6.go index c6fe3279c4..d220751591 100644 --- a/src/cmd/internal/obj/x86/obj6.go +++ b/src/cmd/internal/obj/x86/obj6.go @@ -613,7 +613,7 @@ func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) { var usefpheuristic bool switch ctxt.Headtype { - case objabi.Hwindows, objabi.Hdarwin, objabi.Hlinux: + case objabi.Hwindows, objabi.Hdarwin, objabi.Hlinux, objabi.Hdragonfly: default: usefpheuristic = true } |
