]> Cypherpunks repositories - gostls13.git/commitdiff
debug/elf: remove incorrect doc link
authorIan Lance Taylor <iant@golang.org>
Fri, 9 Feb 2024 22:11:39 +0000 (14:11 -0800)
committerGopher Robot <gobot@golang.org>
Tue, 23 Apr 2024 16:49:58 +0000 (16:49 +0000)
Here Version is a field in Symbol, not the elf.Version type.

Change-Id: I0285937d806d1a9b53b49420b45a07744be244c2
Reviewed-on: https://go-review.googlesource.com/c/go/+/563095
Reviewed-by: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Austin Clements <austin@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>

src/debug/elf/file.go

index 6b4de0c56ef3b9c26c44033e1d3276bf4b5a8d31..398439dcce6655c04b73a02c1f641185f802c739 100644 (file)
@@ -1434,7 +1434,7 @@ func (f *File) Symbols() ([]Symbol, error) {
 // will be listed in the order they appear in f.
 //
 // If f has a symbol version table, the returned [File.Symbols] will have
-// initialized [Version] and Library fields.
+// initialized Version and Library fields.
 //
 // For compatibility with [File.Symbols], [File.DynamicSymbols] omits the null symbol at index 0.
 // After retrieving the symbols as symtab, an externally supplied index x