aboutsummaryrefslogtreecommitdiff
path: root/src/syscall
diff options
context:
space:
mode:
authorPaul E. Murphy <murp@ibm.com>2023-09-12 15:39:56 -0500
committerPaul Murphy <murp@ibm.com>2023-09-29 14:58:44 +0000
commit9bfaaa15fd38f10ba7f11eb6cc67c6dfb21454e6 (patch)
tree2dd6b8000656744d1b2ebc74c2c3ece0811aac71 /src/syscall
parent20944cf0665a5aec6abab802875a9700592b5391 (diff)
downloadgo-9bfaaa15fd38f10ba7f11eb6cc67c6dfb21454e6.tar.xz
cmd/internal/obj/ppc64: fix rebuilding of optab for asm tests
The end-to-end asm tests reinitialize the assembler using different GOPPC64 values. This caused duplicate entries to amass from the prefix and generated optab entries. This bug only affects the asm end-to-end tests. On reinitialization, optab contains the previous prefixedOptab and optabGen entries, not just the initial values. Rework the initialization to avoid the stale optab entries. Change-Id: I310499915a5272ed0174ed8135d60788e6b4b716 Reviewed-on: https://go-review.googlesource.com/c/go/+/528316 Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com> Reviewed-by: Bryan Mills <bcmills@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/syscall')
0 files changed, 0 insertions, 0 deletions