mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/link: refactor *reloc
* use bool instead of int if it's adequate. * remove blank lines. Change-Id: Ic4a5644a33ed9fc7ce388ef8ba15f1732446fcfc Reviewed-on: https://go-review.googlesource.com/59375 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
53c8be4a8d
commit
0c4d035ca8
14 changed files with 182 additions and 291 deletions
|
|
@ -98,14 +98,14 @@ type Arch struct {
|
|||
Solarisdynld string
|
||||
Adddynrel func(*Link, *Symbol, *Reloc) bool
|
||||
Archinit func(*Link)
|
||||
Archreloc func(*Link, *Reloc, *Symbol, *int64) int
|
||||
Archreloc func(*Link, *Reloc, *Symbol, *int64) bool
|
||||
Archrelocvariant func(*Link, *Reloc, *Symbol, int64) int64
|
||||
Trampoline func(*Link, *Reloc, *Symbol)
|
||||
Asmb func(*Link)
|
||||
Elfreloc1 func(*Link, *Reloc, int64) int
|
||||
Elfreloc1 func(*Link, *Reloc, int64) bool
|
||||
Elfsetupplt func(*Link)
|
||||
Gentext func(*Link)
|
||||
Machoreloc1 func(*Symbol, *Reloc, int64) int
|
||||
Machoreloc1 func(*Symbol, *Reloc, int64) bool
|
||||
PEreloc1 func(*Symbol, *Reloc, int64) bool
|
||||
Wput func(uint16)
|
||||
Lput func(uint32)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue