]> Cypherpunks repositories - gostls13.git/commit
cmd/link: adjust symkind comparisons in XCOFF code
authorIan Lance Taylor <iant@golang.org>
Thu, 29 Jan 2026 07:28:09 +0000 (23:28 -0800)
committerGopher Robot <gobot@golang.org>
Thu, 29 Jan 2026 21:15:54 +0000 (13:15 -0800)
commit5593ea463498dce06a1b52dce2918912a9db6c4e
tree317bf92f6a06531256a158a2cb49c33a30f7ff1a
parentbaa6b1f2bf258a857dedddf8be9cb1779bad797a
cmd/link: adjust symkind comparisons in XCOFF code

This XCOFF symkind comparison broke when STYPE moved in CL 723580.
These comparisons are unmaintainable, but at least the new code
is no worse than the old code.

Change-Id: I1be9de6afdf1814aaadcd2105e6247a4b66b46fe
Reviewed-on: https://go-review.googlesource.com/c/go/+/740200
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
src/cmd/link/internal/ld/xcoff.go