diff options
author | Cherry Mui <cherryyz@google.com> | 2021-05-11 22:40:02 -0400 |
---|---|---|
committer | Dmitri Shuralyov <dmitshur@golang.org> | 2021-05-21 22:34:38 +0000 |
commit | 3380b180c66ffcee2bec37877f4a5be5ab78fd5c (patch) | |
tree | 04f3c5c6ac7f0ce9eab93ab054b271ca5a02ed0e /src/net/dnsclient_unix_test.go | |
parent | 963687891319d118c20a2a71f0234ceb3a8dade4 (diff) | |
download | go-3380b180c66ffcee2bec37877f4a5be5ab78fd5c.tar.gz go-3380b180c66ffcee2bec37877f4a5be5ab78fd5c.zip |
[release-branch.go1.15] cmd/link: don't cast end address to int32
When linking a very large binary, the section address may not fit
in int32. Don't truncate it.
Fixes #46127.
Updates #46126.
Change-Id: Ibcc8d74bf5662611949e547ce44ca8b973de383f
Reviewed-on: https://go-review.googlesource.com/c/go/+/319289
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
(cherry picked from commit af0f8c149e8a4b237910fc7b41739bedc546473c)
Reviewed-on: https://go-review.googlesource.com/c/go/+/319370
Diffstat (limited to 'src/net/dnsclient_unix_test.go')
0 files changed, 0 insertions, 0 deletions