aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec.go
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2023-09-13 12:50:17 -0400
committerCherry Mui <cherryyz@google.com>2023-09-13 19:32:19 +0000
commitd66fc90a0daf879ca0b4d9be43c123b13ed59853 (patch)
tree04b84c204cb68aaf8ea4b9f685bd0fd8493d15ea /src/os/exec/exec.go
parentda13da1fceff5439af70571826e2dd35925d86a5 (diff)
downloadgo-d66fc90a0daf879ca0b4d9be43c123b13ed59853.tar.xz
cmd/link: round up default start address to alignment
If the -R flag (the segment alignment) is specified but the -T flag (start address) is not, currently the default start address may be under-aligned, and some math in the linker may be broken. Round up the start address to align it. Fixes #62064. Change-Id: I3b98c9d0cf7d3cd944b9436a36808899d2e52572 Reviewed-on: https://go-review.googlesource.com/c/go/+/527822 Run-TryBot: Cherry Mui <cherryyz@google.com> Reviewed-by: Than McIntosh <thanm@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions