mirror of
https://github.com/golang/go.git
synced 2025-10-19 19:13:18 +00:00
cmd/go/internal/work: update minimum supported s390x version on go
This updates cgo support for s390x changing from z196 to z13, as z13 is the minimum machine level running on go for s390x. Change-Id: I1a102294b2108c35ddb1428bf287ce83debaeac8 Reviewed-on: https://go-review.googlesource.com/c/go/+/666995 Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
f529d56508
commit
2b3794e3e8
1 changed files with 2 additions and 1 deletions
|
@ -2587,7 +2587,8 @@ func (b *Builder) gccArchArgs() []string {
|
||||||
case "arm":
|
case "arm":
|
||||||
return []string{"-marm"} // not thumb
|
return []string{"-marm"} // not thumb
|
||||||
case "s390x":
|
case "s390x":
|
||||||
return []string{"-m64", "-march=z196"}
|
// minimum supported s390x version on Go is z13
|
||||||
|
return []string{"-m64", "-march=z13"}
|
||||||
case "mips64", "mips64le":
|
case "mips64", "mips64le":
|
||||||
args := []string{"-mabi=64"}
|
args := []string{"-mabi=64"}
|
||||||
if cfg.GOMIPS64 == "hardfloat" {
|
if cfg.GOMIPS64 == "hardfloat" {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue