]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: fix end-of-block padding
authorCherry Zhang <cherryyz@google.com>
Tue, 31 Mar 2020 18:36:19 +0000 (14:36 -0400)
committerCherry Zhang <cherryyz@google.com>
Tue, 31 Mar 2020 20:42:24 +0000 (20:42 +0000)
commitaef23f5be9c76c608562e4607dc707a07360526a
tree66c80cf8cffbd7aad73c5e94d563157743867b31
parent721716ca1cfac23787aa3c722a8eecd9a0d5b296
[dev.link] cmd/link: fix end-of-block padding

Make sure we write the entire address range we are asked to write,
with no holes between the blocks or at the end.

Should fix NetBSD build.

Change-Id: I13b1f551377cbc4bcde3650417ac95cba62ff807
Reviewed-on: https://go-review.googlesource.com/c/go/+/226617
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
src/cmd/link/internal/ld/data.go