mirror of
https://github.com/golang/go.git
synced 2025-11-03 02:00:57 +00:00
test: fix nosplit.go, fixedbugs/issue11656.go and skip two tests for mips64{,le}
Skip fixedbugs/issue10607.go because external linking is not supported yet. Skip nilptr3.go because of issue #9058 (same as ppc64). Change-Id: Ib3dfbd9a03ee4052871cf57c74b3cc5e745e1f80 Reviewed-on: https://go-review.googlesource.com/14461 Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Minux Ma <minux@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
fa61945cf2
commit
15676b51a5
4 changed files with 10 additions and 2 deletions
|
|
@ -247,6 +247,9 @@ TestCases:
|
|||
var buf bytes.Buffer
|
||||
ptrSize := 4
|
||||
switch goarch {
|
||||
case "mips64", "mips64le":
|
||||
ptrSize = 8
|
||||
fmt.Fprintf(&buf, "#define CALL JAL\n#define REGISTER (R0)\n")
|
||||
case "ppc64", "ppc64le":
|
||||
ptrSize = 8
|
||||
fmt.Fprintf(&buf, "#define CALL BL\n#define REGISTER (CTR)\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue