aboutsummaryrefslogtreecommitdiff
path: root/src/weak/pointer_test.go
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2025-11-19 17:32:12 -0500
committerCherry Mui <cherryyz@google.com>2025-11-20 11:05:03 -0800
commit4b740af56a864eeaf3504d7f873c3d3cb3fcd72e (patch)
treeb8b76385856dd01de84d78cd0c47e259bb921dc1 /src/weak/pointer_test.go
parent790384c6c23f7ce44199ea3cd61c856d632b08aa (diff)
downloadgo-4b740af56a864eeaf3504d7f873c3d3cb3fcd72e.tar.xz
cmd/internal/obj/x86: handle global reference in From3 in dynlink mode
In dynlink mode, we rewrite reference to a global variable to a load from the GOT. Currently this code does not handle the case that the global reference is in From3 of a Prog. Most instructions don't expect a memory operand in From3, but some do, like VGF2P8AFFINEQB. Handle this case. Change-Id: Ibb6773606e6967bcc629d9ef5dac6e050f4008ef Reviewed-on: https://go-review.googlesource.com/c/go/+/722181 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Junyang Shao <shaojunyang@google.com>
Diffstat (limited to 'src/weak/pointer_test.go')
0 files changed, 0 insertions, 0 deletions