aboutsummaryrefslogtreecommitdiff
path: root/src/internal/pkgbits
diff options
context:
space:
mode:
authorMark Freeman <mark@golang.org>2025-05-05 13:40:55 -0400
committerGopher Robot <gobot@golang.org>2025-05-06 12:43:01 -0700
commit6681ff9c9e7805fab9e0dcb767f4807af03dbbbd (patch)
treebac14949d8e2b9d044d3e3c17770b08da4298bb5 /src/internal/pkgbits
parent66ea0ee409df5a025296d7dac8bb3dc1ec0d2b90 (diff)
downloadgo-6681ff9c9e7805fab9e0dcb767f4807af03dbbbd.tar.xz
pkgbits: replace references to RelocKind with SectionKind
Change-Id: Id194a42645d1da6440558bf12dc252f347072f86 Reviewed-on: https://go-review.googlesource.com/c/go/+/670175 Auto-Submit: Mark Freeman <mark@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Mark Freeman <mark@golang.org> Reviewed-by: Robert Griesemer <gri@google.com>
Diffstat (limited to 'src/internal/pkgbits')
-rw-r--r--src/internal/pkgbits/reloc.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/internal/pkgbits/reloc.go b/src/internal/pkgbits/reloc.go
index e4b494d749..e29150c3e3 100644
--- a/src/internal/pkgbits/reloc.go
+++ b/src/internal/pkgbits/reloc.go
@@ -4,11 +4,10 @@
package pkgbits
-// A RelocKind indicates a section, as well as the ordering of sections within
+// A SectionKind indicates a section, as well as the ordering of sections within
// unified export data. Any object given a dedicated section can be referred to
// via a section / index pair (and thus dereferenced) in other sections.
-type RelocKind int32 // TODO(markfreeman): Replace with uint8.
-type SectionKind = RelocKind
+type SectionKind int32 // TODO(markfreeman): Replace with uint8.
const (
RelocString SectionKind = iota