mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.link] cmd/link: convert asmb2 pass to new style on Wasm
And no longer do loadlibfull there. Change-Id: I3dd41d25f5f7db4ef1d112559299e322acb32641 Reviewed-on: https://go-review.googlesource.com/c/go/+/232987 Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
parent
6d7c2459ad
commit
744641ef37
12 changed files with 48 additions and 42 deletions
|
|
@ -825,7 +825,7 @@ func asmb(ctxt *ld.Link, _ *loader.Loader) {
|
|||
wg.Wait()
|
||||
}
|
||||
|
||||
func asmb2(ctxt *ld.Link) {
|
||||
func asmb2(ctxt *ld.Link, _ *loader.Loader) {
|
||||
machlink := uint32(0)
|
||||
if ctxt.HeadType == objabi.Hdarwin {
|
||||
machlink = uint32(ld.Domacholink(ctxt))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue