]> Cypherpunks.ru repositories - gostls13.git/commitdiff
test: add mipsx case to nosplit.go
authorVladimir Stefanovic <vladimir.stefanovic@imgtec.com>
Thu, 15 Dec 2016 17:05:26 +0000 (18:05 +0100)
committerIan Lance Taylor <iant@golang.org>
Thu, 15 Dec 2016 22:43:28 +0000 (22:43 +0000)
Change-Id: I496bceacb6b3f417e36dc725d988b12c59a200d5
Reviewed-on: https://go-review.googlesource.com/34412
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

test/nosplit.go

index 5f4e62f5b15a79f983bf91e52fa8edeefc2e33c7..e0d531c116d2f7550ef2665fd173863a5eb042dc 100644 (file)
@@ -261,6 +261,8 @@ TestCases:
                var buf bytes.Buffer
                ptrSize := 4
                switch goarch {
+               case "mips", "mipsle":
+                       fmt.Fprintf(&buf, "#define CALL JAL\n#define REGISTER (R0)\n")
                case "mips64", "mips64le":
                        ptrSize = 8
                        fmt.Fprintf(&buf, "#define CALL JAL\n#define REGISTER (R0)\n")