aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/testdata
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2023-03-23 16:10:05 -0400
committerCherry Mui <cherryyz@google.com>2023-03-24 14:23:19 +0000
commita6c382eaa8eaa611d71232aa4d5391b56a5c2693 (patch)
tree09a2cc02f3ca2923510a97de7fcf0e5f968af6af /src/runtime/testdata
parente4abe90bf8bee451971c4b23d4418a9fc021c4a8 (diff)
downloadgo-a6c382eaa8eaa611d71232aa4d5391b56a5c2693.tar.xz
cmd/link: add padding after runtime.etext
The runtime.etext symbol is a marker symbol that marks the end of (Go's) text section. Currently it has 0 size on some platforms. Especially in external linking mode, this may cause the next symbol (e.g. a C function) to have the same address as runtime.etext, which may confuse some symbolizer. Add some padding bytes to avoid address collision. Change-Id: Ic450bab72e4ac79a3b6b891729831d4148b89234 Reviewed-on: https://go-review.googlesource.com/c/go/+/479075 Run-TryBot: Cherry Mui <cherryyz@google.com> Reviewed-by: Nicolas Hillegeer <aktau@google.com> Run-TryBot: Nicolas Hillegeer <aktau@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/testdata')
0 files changed, 0 insertions, 0 deletions