mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.link] all: merge branch 'master' into dev.link
The only conflict is in cmd/internal/obj/link.go and the resolution is trivial. Change-Id: Ic79b760865a972a0ab68291d06386531d012de86
This commit is contained in:
commit
d77b809df9
314 changed files with 6741 additions and 1170 deletions
|
|
@ -504,6 +504,11 @@ func (ctxt *Link) loadlib() {
|
|||
if p := ctxt.findLibPath("libmingw32.a"); p != "none" {
|
||||
hostArchive(ctxt, p)
|
||||
}
|
||||
// Link libmsvcrt.a to resolve '__acrt_iob_func' symbol
|
||||
// (see https://golang.org/issue/23649 for details).
|
||||
if p := ctxt.findLibPath("libmsvcrt.a"); p != "none" {
|
||||
hostArchive(ctxt, p)
|
||||
}
|
||||
// TODO: maybe do something similar to peimporteddlls to collect all lib names
|
||||
// and try link them all to final exe just like libmingwex.a and libmingw32.a:
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue