diff options
author | fanzha02 <fannie.zhang@arm.com> | 2020-05-07 10:17:08 +0800 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2020-05-07 04:45:51 +0000 |
commit | 9e8157805fed930c292d5593aab3016ce6d9c8ed (patch) | |
tree | 6ffc4bf04eb27ad21c153d596ad25797ea62647a /src/cmd/internal/obj/arm64/doc.go | |
parent | 94e61ab94d4ab865cd3f9f73062a1c201bb6584d (diff) | |
download | go-9e8157805fed930c292d5593aab3016ce6d9c8ed.tar.gz go-9e8157805fed930c292d5593aab3016ce6d9c8ed.zip |
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 <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/internal/obj/arm64/doc.go')
-rw-r--r-- | src/cmd/internal/obj/arm64/doc.go | 2 |
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 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. |