diff options
| author | Paul Murphy <murp@redhat.com> | 2025-10-01 09:23:18 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-10-08 13:57:01 -0700 |
| commit | 941e5917c113e8414ad8dc5f36c8ebae33497be4 (patch) | |
| tree | 74e509c0e6a516ad24ae20f355e9684a9b3a9796 /src/runtime | |
| parent | d945600d060e7a0b7c5e72ac606a017d105a17f3 (diff) | |
| download | go-941e5917c113e8414ad8dc5f36c8ebae33497be4.tar.xz | |
runtime: cleanup comments from asm_ppc64x.s improvements
CL 706395 consolidated the aix and elf startup code, further
update the comments to reflect this.
Change-Id: Iccb98008b3fe4a4b08e55ee822924fad76846cc2
Reviewed-on: https://go-review.googlesource.com/c/go/+/708355
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Paul Murphy <paumurph@redhat.com>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/asm_ppc64x.s | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/runtime/asm_ppc64x.s b/src/runtime/asm_ppc64x.s index b42e0b62f8..88d03dcc72 100644 --- a/src/runtime/asm_ppc64x.s +++ b/src/runtime/asm_ppc64x.s @@ -11,10 +11,10 @@ #include "asm_ppc64x.h" #include "cgo/abi_ppc64x.h" - +// This is called using the host ABI. argc and argv arguments +// should be in R3 and R4 respectively. TEXT _rt0_ppc64x_lib(SB),NOSPLIT|NOFRAME,$0 - // This is called with ELFv2 calling conventions. Convert to Go. - // Allocate argument storage for call to newosproc0. + // Convert to Go ABI, and Allocate argument storage for call to newosproc0. STACK_AND_SAVE_HOST_TO_GO_ABI(16) MOVD R3, _rt0_ppc64x_lib_argc<>(SB) @@ -48,7 +48,6 @@ nocgo: BL (CTR) done: - // Restore and return to ELFv2 caller. UNSTACK_AND_RESTORE_GO_TO_HOST_ABI(16) RET |
