mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.link] cmd/link: simplify asmb2
Move lots of the binary-file format specific pieces into their appropriate places. Similarly rescope some variables to just ld. Change-Id: I74bc6d8aba58f5ac86e6579be1fcb356c4636825 Reviewed-on: https://go-review.googlesource.com/c/go/+/235278 Run-TryBot: Jeremy Faller <jeremy@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Jeremy Faller <jeremy@golang.org>
This commit is contained in:
parent
e1c0b751b5
commit
c5a9b3d63a
6 changed files with 79 additions and 61 deletions
|
|
@ -258,10 +258,10 @@ type Arch struct {
|
|||
|
||||
var (
|
||||
thearch Arch
|
||||
Lcsize int32
|
||||
lcSize int32
|
||||
rpath Rpath
|
||||
Spsize int32
|
||||
Symsize int32
|
||||
spSize int32
|
||||
symSize int32
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue