]> Cypherpunks repositories - gostls13.git/commit
cmd/go: make asm the first assembler
authorRob Pike <r@golang.org>
Tue, 24 Feb 2015 22:28:49 +0000 (14:28 -0800)
committerRob Pike <r@golang.org>
Wed, 25 Feb 2015 17:10:37 +0000 (17:10 +0000)
commit4100f7d95c0b51bc366103f91c9c9cad223c4168
treee81d7a5dc1bda1c873d52701dd387c2836ac5cc3
parent3e9e9b48223b2dcabf1d861af9904940bdbff929
cmd/go: make asm the first assembler

verifyAsm is still on, but this CL changes the order to asm then 6a.
Before, it was 6a then asm, but that meant that any bugs in asm
for bad input would be prevented from happening because 6a would
catch them. Now asm gets first crack, as it must.

Also implement the -trimpath flag in asm. It's necessary and trivial.

Change-Id: Ifb2ab870de1aa1b53dec76a78ac697a0d36fa80a
Reviewed-on: https://go-review.googlesource.com/5850
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/asm/internal/flags/flags.go
src/cmd/asm/main.go
src/cmd/go/build.go