Commit 6a537c1d authored by Avelino's avatar Avelino Committed by Ian Lance Taylor

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: default avatarIan Lance Taylor <iant@golang.org>
parent 99c757ad
...@@ -230,14 +230,6 @@ var dosstub = []uint8{ ...@@ -230,14 +230,6 @@ var dosstub = []uint8{
0x00, 0x00,
} }
var rsrcsym *Symbol
var PESECTHEADR int32
var PEFILEHEADR int32
var pe64 int
type Imp struct { type Imp struct {
s *Symbol s *Symbol
off uint64 off uint64
...@@ -253,11 +245,15 @@ type Dll struct { ...@@ -253,11 +245,15 @@ type Dll struct {
next *Dll next *Dll
} }
var dr *Dll var (
rsrcsym *Symbol
var dexport [1024]*Symbol PESECTHEADR int32
PEFILEHEADR int32
var nexport int pe64 int
dr *Dll
dexport [1024]*Symbol
nexport int
)
// peStringTable is a COFF string table. // peStringTable is a COFF string table.
type peStringTable struct { type peStringTable struct {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment