diff options
| author | Cherry Mui <cherryyz@google.com> | 2025-11-19 17:32:12 -0500 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2025-11-20 11:05:03 -0800 |
| commit | 4b740af56a864eeaf3504d7f873c3d3cb3fcd72e (patch) | |
| tree | b8b76385856dd01de84d78cd0c47e259bb921dc1 /src/internal/pkgbits/pkgbits_test.go | |
| parent | 790384c6c23f7ce44199ea3cd61c856d632b08aa (diff) | |
| download | go-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/internal/pkgbits/pkgbits_test.go')
0 files changed, 0 insertions, 0 deletions
