]> Cypherpunks repositories - gostls13.git/commit
cmd/link/internal/arm64: increase the function alignment to 16
authorfanzha02 <fannie.zhang@arm.com>
Wed, 25 Mar 2020 03:11:24 +0000 (11:11 +0800)
committerCherry Zhang <cherryyz@google.com>
Wed, 25 Mar 2020 15:37:25 +0000 (15:37 +0000)
commit2568d323f603417c74f3b7030a6108362234d427
treed209470d705292f89715a1c44d4cdc61168f2f6d
parent2f8798ed071072dbb6801c5dbc5a4368cb5984e9
cmd/link/internal/arm64: increase the function alignment to 16

On arm64, a function's address is 16 bytes aligned, and
the assembler aligns the size of function symbol to 16 bytes,
so to keep the consistent, this patch changes the function
alignment in the linker to 16 bytes.

Change-Id: I4d1e89a56200453b7b586fe3f4656bada7544214
Reviewed-on: https://go-review.googlesource.com/c/go/+/225397
Reviewed-by: eric fang <eric.fang@arm.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/link/internal/arm64/l.go