diff options
| author | Ian Lance Taylor <iant@golang.org> | 2023-01-30 12:09:33 -0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-01-31 16:54:43 +0000 |
| commit | 4bca2b9583c3300acccc71983cec8b5d4fbbc356 (patch) | |
| tree | 3237ccd754db3bf4c016b59f73844366b6b570d3 /src/cmd/link/internal/ld/lib.go | |
| parent | 43115ff094be30b7a3c45eaf82ee6d257f3aa6c6 (diff) | |
| download | go-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/ld/lib.go')
| -rw-r--r-- | src/cmd/link/internal/ld/lib.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go index 17df56f4d5..ffa2d83505 100644 --- a/src/cmd/link/internal/ld/lib.go +++ b/src/cmd/link/internal/ld/lib.go @@ -200,7 +200,7 @@ type Arch struct { // is the contents of the to-be-relocated data item (from sym.P). Return // value is the appropriately relocated value (to be written back to the // same spot in sym.P), number of external _host_ relocations needed (i.e. - // ELF/Mach-O/etc. relocations, not Go relocations, this must match Elfreloc1, + // ELF/Mach-O/etc. relocations, not Go relocations, this must match ELF.Reloc1, // etc.), and a boolean indicating success/failure (a failing value indicates // a fatal error). Archreloc func(*Target, *loader.Loader, *ArchSyms, loader.Reloc, loader.Sym, |
