aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/binary/binary_test.go
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2024-05-17 19:59:31 -0400
committerCherry Mui <cherryyz@google.com>2024-05-20 15:32:53 +0000
commit9a9dd72d5c2b2f808a0a7ef204e307bc1dbee78c (patch)
tree59b381fb7b61256eedac84286bb35b55fdbb16b6 /src/encoding/binary/binary_test.go
parente3d87d19320001e6081449550292d76ef660ab03 (diff)
downloadgo-9a9dd72d5c2b2f808a0a7ef204e307bc1dbee78c.tar.xz
cmd/link: add runtime.text.N symbols to macho symbol table in dynlink mode
In dynamic linking mode (e.g. when using plugins) on darwin, the marker symbols runtime.text and runtime.etext are added to Textp in an early stage, so when adding symbols to the symbol table we don't need to explicitly add them. However, when splitting text sections, the runtime.text.N marker symbols for the addtional sections are not added to Textp. So we do need to add them explicitly to the symbol table. Fixes #66993. Change-Id: Ic718d03cd71fc0bfb931cff82640b1f4c53b89be Reviewed-on: https://go-review.googlesource.com/c/go/+/586555 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/encoding/binary/binary_test.go')
0 files changed, 0 insertions, 0 deletions