mirror of https://github.com/golang/go.git
cmd/link: Grouping declaration of variables on ld/pe.go
Change-Id: I33284d3154db43b2b89418c5076df79407e7cf41 Reviewed-on: https://go-review.googlesource.com/60931 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
99c757adb5
commit
6a537c1d47
|
|
@ -230,14 +230,6 @@ var dosstub = []uint8{
|
|||
0x00,
|
||||
}
|
||||
|
||||
var rsrcsym *Symbol
|
||||
|
||||
var PESECTHEADR int32
|
||||
|
||||
var PEFILEHEADR int32
|
||||
|
||||
var pe64 int
|
||||
|
||||
type Imp struct {
|
||||
s *Symbol
|
||||
off uint64
|
||||
|
|
@ -253,11 +245,15 @@ type Dll struct {
|
|||
next *Dll
|
||||
}
|
||||
|
||||
var dr *Dll
|
||||
|
||||
var dexport [1024]*Symbol
|
||||
|
||||
var nexport int
|
||||
var (
|
||||
rsrcsym *Symbol
|
||||
PESECTHEADR int32
|
||||
PEFILEHEADR int32
|
||||
pe64 int
|
||||
dr *Dll
|
||||
dexport [1024]*Symbol
|
||||
nexport int
|
||||
)
|
||||
|
||||
// peStringTable is a COFF string table.
|
||||
type peStringTable struct {
|
||||
|
|
|
|||
Loading…
Reference in New Issue