From 9e8157805fed930c292d5593aab3016ce6d9c8ed Mon Sep 17 00:00:00 2001 From: fanzha02 Date: Thu, 7 May 2020 10:17:08 +0800 Subject: [PATCH] cmd/internal/obj/arm64: fix typos in document Correct "PCALING" to "PCALIGN". Change-Id: Id80728142febd2a42e112dc06a6c1bc0759687e6 Reviewed-on: https://go-review.googlesource.com/c/go/+/232697 Reviewed-by: Brad Fitzpatrick --- src/cmd/internal/obj/arm64/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/internal/obj/arm64/doc.go b/src/cmd/internal/obj/arm64/doc.go index df516b6382..d66e6f85e6 100644 --- a/src/cmd/internal/obj/arm64/doc.go +++ b/src/cmd/internal/obj/arm64/doc.go @@ -57,7 +57,7 @@ must be a power of 2 and in the range of [8, 2048]. PCALIGN $1024 MOVD $3, R1 // This instruction is aligned with 1024 bytes. -PCALING also changes the function alignment. If a function has one or more PCALIGN directives, +PCALIGN also changes the function alignment. If a function has one or more PCALIGN directives, its address will be aligned to the same or coarser boundary, which is the maximum of all the alignment values. -- 2.50.0