aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/obj/arm64/doc.go
diff options
context:
space:
mode:
authoradetunjii <adetunjithomas1@outlook.com>2023-08-05 21:14:36 +0000
committerGopher Robot <gobot@golang.org>2023-08-07 00:21:42 +0000
commit5ad1ed2aa6007cea916a3da9f30c2f1f210fa895 (patch)
treeff9018f37bceca90eb3f7f8f9ee276056127fa4b /src/cmd/internal/obj/arm64/doc.go
parentdfc1437580ed230c57892e895c3d7d46b712fdec (diff)
downloadgo-5ad1ed2aa6007cea916a3da9f30c2f1f210fa895.tar.gz
go-5ad1ed2aa6007cea916a3da9f30c2f1f210fa895.zip
arm64: replace "PCALGIN with PCALIGN" in package documentation
Change-Id: I476e2a75f39c876fa9c071cada36573740d546de GitHub-Last-Rev: dec3fb438f4dd0d8e0aff300356c8d92e8ee6749 GitHub-Pull-Request: golang/go#61783 Reviewed-on: https://go-review.googlesource.com/c/go/+/516395 Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/cmd/internal/obj/arm64/doc.go')
-rw-r--r--src/cmd/internal/obj/arm64/doc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/internal/obj/arm64/doc.go b/src/cmd/internal/obj/arm64/doc.go
index 7c65ab76da..f2c3331c63 100644
--- a/src/cmd/internal/obj/arm64/doc.go
+++ b/src/cmd/internal/obj/arm64/doc.go
@@ -78,7 +78,7 @@ Examples:
MOVD $8, R2
RET
-On arm64, functions in Go are aligned to 16 bytes by default, we can also use PCALGIN to set the
+On arm64, functions in Go are aligned to 16 bytes by default, we can also use PCALIGN to set the
function alignment. The functions that need to be aligned are preferably using NOFRAME and NOSPLIT
to avoid the impact of the prologues inserted by the assembler, so that the function address will
have the same alignment as the first hand-written instruction.