aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2015-02-04 16:03:57 -0500
committerRuss Cox <rsc@golang.org>2015-02-04 21:07:06 +0000
commit25c140aaa0cebdd77886475dfd82b06e8f684e29 (patch)
treec3e5bf0f0f9c6562dd1b266335a22f01ee57ae67
parent878d00b65c829c45ef5aebc84e506265f53a0265 (diff)
downloadgo-25c140aaa0cebdd77886475dfd82b06e8f684e29.tar.xz
[dev.cc] cmd/go, liblink: turn off verification against Go code
The upcoming merge is going to break the synchrony. Will restore separately. Change-Id: I90946119a0901e24063b190d1a074594af7654c7 Reviewed-on: https://go-review.googlesource.com/3888 Reviewed-by: Russ Cox <rsc@golang.org>
-rw-r--r--src/cmd/go/build.go2
-rw-r--r--src/liblink/objfile.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/go/build.go b/src/cmd/go/build.go
index 0cb7dbb239..2d3ba41cba 100644
--- a/src/cmd/go/build.go
+++ b/src/cmd/go/build.go
@@ -1675,7 +1675,7 @@ func (gcToolchain) gc(b *builder, p *Package, archive, obj string, asmhdr bool,
// verifyAsm specifies whether to check the assemblers written in Go
// against the assemblers written in C. If set, asm will run both (say) 6a and new6a
// and fail if the two produce different output files.
-const verifyAsm = true
+const verifyAsm = false
func (gcToolchain) asm(b *builder, p *Package, obj, ofile, sfile string) error {
// Add -I pkg/GOOS_GOARCH so #include "textflag.h" works in .s files.
diff --git a/src/liblink/objfile.c b/src/liblink/objfile.c
index 8c2257de8a..a238fce57d 100644
--- a/src/liblink/objfile.c
+++ b/src/liblink/objfile.c
@@ -143,7 +143,7 @@ writeobj(Link *ctxt, Biobuf *b)
// we will hard code the GOOBJ=1 behavior.
env = getenv("GOOBJ");
if(env == nil)
- env = "2";
+ env = "0";
if(atoi(env) == 0) {
writeobjdirect(ctxt, b);
return;