mirror of
https://github.com/golang/go
synced 2024-11-18 20:04:52 -07:00
[dev.link] cmd/link: use new dodata on Plan 9 and Wasm
They don't have fancy Adddynrel stuff, so we can just enable it. Change-Id: I84082c3187d8a9ffa3a9c5458959794df0e3c2b6 Reviewed-on: https://go-review.googlesource.com/c/go/+/230030 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
b2fde1098a
commit
f9ed846a46
@ -211,6 +211,8 @@ func Main(arch *sys.Arch, theArch Arch) {
|
||||
if !ctxt.IsAMD64() {
|
||||
*flagnewDoData = false
|
||||
}
|
||||
case ctxt.IsPlan9(), ctxt.IsWasm():
|
||||
// supported
|
||||
default:
|
||||
*flagnewDoData = false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user