]> Cypherpunks repositories - gostls13.git/commit
runtime: unify arm64 entry point code
authorqmuntal <quimmuntal@gmail.com>
Tue, 23 Sep 2025 15:17:37 +0000 (17:17 +0200)
committerGopher Robot <gobot@golang.org>
Fri, 26 Sep 2025 07:30:55 +0000 (00:30 -0700)
commit45d6bc76af641853a0bea31c77912bf9fd52ed79
treedc53ba09092d9d7b97f878c6ba69c5eeaa0059e1
parentfdea7da3e68b66514c7466696ecb6b034224ded0
runtime: unify arm64 entry point code

There is a lot of duplication in how arm64 OSes handle entry points.
Do as amd64, have all the logic in a common function.

Cq-Include-Trybots: luci.golang.try:gotip-darwin-arm64-longtest,gotip-windows-arm64
Change-Id: I370c25c3c4b107b525aba14e9dcac34a02d9872e
Reviewed-on: https://go-review.googlesource.com/c/go/+/706175
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Quim Muntal <quimmuntal@gmail.com>
src/runtime/asm_arm64.s
src/runtime/os_windows.go
src/runtime/rt0_android_arm64.s
src/runtime/rt0_darwin_arm64.s
src/runtime/rt0_freebsd_arm64.s
src/runtime/rt0_ios_arm64.s
src/runtime/rt0_linux_arm64.s
src/runtime/rt0_netbsd_arm64.s
src/runtime/rt0_openbsd_arm64.s
src/runtime/rt0_windows_arm64.s