aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorThan McIntosh <thanm@google.com>2024-04-23 14:39:23 +0000
committerThan McIntosh <thanm@google.com>2024-04-25 20:23:29 +0000
commit1ca31eac40c0400efc8211bc2483fd621264be11 (patch)
tree3c52047443d098702748c49683f6408ff971c964 /doc
parent57026007c828ac06fe4f8656c1aa497dd3ba40c3 (diff)
downloadgo-1ca31eac40c0400efc8211bc2483fd621264be11.tar.gz
go-1ca31eac40c0400efc8211bc2483fd621264be11.zip
cmd/link/internal/ld: revised bindnow/relro test for ELF
This patch re-enables the portion of the TestElfBindNow test that verifies that selected sections are in a read-only segment. Turns out we can't always check for read-only ".got" on all architectures (on ppc64le for example ".got" will only turn up if there is CGO use), so always look for readonly ".dynamic", but only look for readonly ".got" if the section is present. Updates #45681. Change-Id: I4687ae3cf9a81818268925e17700170ba34204a7 Reviewed-on: https://go-review.googlesource.com/c/go/+/581115 Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions