]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.cc] cmd/go: enable verifyAsm for all architectures
authorRob Pike <r@golang.org>
Thu, 19 Feb 2015 05:11:42 +0000 (21:11 -0800)
committerRob Pike <r@golang.org>
Thu, 19 Feb 2015 21:10:27 +0000 (21:10 +0000)
Change-Id: Ia1ba28c81e31d149c59a48d5f71628ac0ff14d8e
Reviewed-on: https://go-review.googlesource.com/5283
Reviewed-by: Minux Ma <minux@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/build.go

index 0e29ec40467b9418f8d578fc730414579e469683..db1c93b8ac9826e03b30ba94013ad48023c0dd44 100644 (file)
@@ -1702,11 +1702,8 @@ func (gcToolchain) asm(b *builder, p *Package, obj, ofile, sfile string) error {
                if err := toolVerify(b, p, "new"+archChar+"a", ofile, args); err != nil {
                        return err
                }
-               switch goarch {
-               case "386", "amd64", "amd64p32", "arm": // Asm only supports these architectures so far.
-                       if err := toolVerify(b, p, "asm", ofile, args); err != nil {
-                               return err
-                       }
+               if err := toolVerify(b, p, "asm", ofile, args); err != nil {
+                       return err
                }
        }
        return nil