1
0
mirror of https://github.com/golang/go synced 2024-11-23 04:20:03 -07:00

doc: debug/pe.Section is not new, Section.Relocs field is

Change-Id: Ie50d68f87670de6c199016ebdc740c11ee636e9a
Reviewed-on: https://go-review.googlesource.com/33931
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Alex Brainman 2016-12-05 11:10:58 +11:00
parent b00b214e0d
commit ec80737bdf

View File

@ -901,16 +901,16 @@ crypto/x509: return error for missing SerialNumber (CL 27238)
<dl id="debug_pe"><dt><a href="/pkg/debug/pe/">debug/pe</a></dt>
<dd>
<p> <!-- CL 22720, CL 27212, CL 22181, CL 22332, CL 22336, Issue 15345 -->
The package has been fleshed out and is now used by <a href="/cmd/link/">the Go linker</a>.
New are
<a href="/pkg/debug/pe/#Reloc"><code>Reloc</code></a>,
<a href="/pkg/debug/pe/#Section"><code>Section</code></a>,
<a href="/pkg/debug/pe/#StringTable"><code>StringTable</code></a>,
the method
<a href="/pkg/debug/pe/#COFFSymbol.FullName"><code>COFFSymbol.FullName</code></a>,
and the fields
<a href="/pkg/debug/pe/#File.COFFSymbols"><code>File.COFFSymbols</code></a> and
<a href="/pkg/debug/pe/#File.StringTable"><code>File.StringTable</code></a>.
The package has been extended and is now used by
<a href="/cmd/link/">the Go linker</a> to read <code>gcc</code>-generated object files.
The new
<a href="/pkg/debug/pe/#File.StringTable"><code>File.StringTable</code></a>
and
<a href="/pkg/debug/pe/#Section.Relocs"><code>Section.Relocs</code></a>
fields provide access to the COFF string table and COFF relocations.
The new
<a href="/pkg/debug/pe/#File.COFFSymbols"><code>File.COFFSymbols</code></a>
allows low-level access to the COFF symbol table.
</p>
</dd>
</dl>