Skip to content

Commit

Permalink
cmd/link: Grouping declaration of variables on ld/pe.go
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
avelino authored and ianlancetaylor committed Sep 21, 2017
1 parent 99c757a commit 6a537c1
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions src/cmd/link/internal/ld/pe.go
Expand Up @@ -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
Expand All @@ -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 {
Expand Down

0 comments on commit 6a537c1

Please sign in to comment.