diff options
| author | Austin Clements <austin@google.com> | 2015-12-18 09:53:25 -0800 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2015-12-18 20:41:26 +0000 |
| commit | ea5b9d5bd32d1027338762372652dc6f9819a788 (patch) | |
| tree | 00cfd483af28263ee23af5ea58d9e9d5cc187a6b /src | |
| parent | 5b085482ae8792cf751371991488d29e7bd3762f (diff) | |
| download | go-ea5b9d5bd32d1027338762372652dc6f9819a788.tar.xz | |
debug/elf: rename Chdr64.Reserved to _
This future-proofs the Chdr64 structure against later versions of ELF
defining this field and declutters the documentation without changing
the layout of the struct.
This structure does not exist in the current release, so this change
is safe.
Change-Id: I239aad7243ddaf063a1f8cd521d8a50b30413281
Reviewed-on: https://go-review.googlesource.com/18028
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/debug/elf/elf.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/elf/elf.go b/src/debug/elf/elf.go index 0c79b7a02f..f53ba0079a 100644 --- a/src/debug/elf/elf.go +++ b/src/debug/elf/elf.go @@ -2006,7 +2006,7 @@ type Dyn64 struct { // ELF64 Compression header. type Chdr64 struct { Type uint32 - Reserved uint32 + _ uint32 /* Reserved. */ Size uint64 Addralign uint64 } |
