aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/link/internal/mips64/obj.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2023-01-30 12:09:33 -0800
committerGopher Robot <gobot@golang.org>2023-01-31 16:54:43 +0000
commit4bca2b9583c3300acccc71983cec8b5d4fbbc356 (patch)
tree3237ccd754db3bf4c016b59f73844366b6b570d3 /src/cmd/link/internal/mips64/obj.go
parent43115ff094be30b7a3c45eaf82ee6d257f3aa6c6 (diff)
downloadgo-4bca2b9583c3300acccc71983cec8b5d4fbbc356.tar.xz
cmd/link: rename ELF struct fields to remove "elf" prefix
While we're here rename setupplt to setupPLT. This is a pure naming change with no semantic change. Change-Id: Ib0312fb6568475b620dab7632438b4d25e4d9cc0 Reviewed-on: https://go-review.googlesource.com/c/go/+/463744 Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Auto-Submit: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/cmd/link/internal/mips64/obj.go')
-rw-r--r--src/cmd/link/internal/mips64/obj.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/link/internal/mips64/obj.go b/src/cmd/link/internal/mips64/obj.go
index ce4494c61d..59afb25095 100644
--- a/src/cmd/link/internal/mips64/obj.go
+++ b/src/cmd/link/internal/mips64/obj.go
@@ -67,9 +67,9 @@ func Init() (*sys.Arch, ld.Arch) {
Dragonflydynld: "XXX",
Solarisdynld: "XXX",
- Elfreloc1: elfreloc1,
- ElfrelocSize: 24,
- Elfsetupplt: elfsetupplt,
+ Reloc1: elfreloc1,
+ RelocSize: 24,
+ SetupPLT: elfsetupplt,
// Historically GNU ld creates a read-only
// .dynamic section.