]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/*: go generate the slice of Anames strings
authorRob Pike <r@golang.org>
Wed, 11 Mar 2015 19:48:42 +0000 (12:48 -0700)
committerRob Pike <r@golang.org>
Wed, 11 Mar 2015 20:13:09 +0000 (20:13 +0000)
commit4b981ed3e66a3093089b5b333bd7f1d85a92aaf3
tree9b9fd5f8ea7e145a77bec81c72acad611e62ba30
parent5d987f15137332ddf2c93bf9aabf639b1c2dccc5
cmd/internal/obj/*: go generate the slice of Anames strings

Add cmd/internal/obj/stringer.go to do the generation and update
the architecture packages to use it to maintain the Anames tables.

Change-Id: I9c6d4def1bf21624668396d70c17973d0db11fbc
Reviewed-on: https://go-review.googlesource.com/7430
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/internal/obj/arm/5.out.go
src/cmd/internal/obj/arm/anames.go [new file with mode: 0644]
src/cmd/internal/obj/arm/anames5.go
src/cmd/internal/obj/ppc64/9.out.go
src/cmd/internal/obj/ppc64/anames.go [new file with mode: 0644]
src/cmd/internal/obj/ppc64/anames9.go
src/cmd/internal/obj/stringer.go [new file with mode: 0644]
src/cmd/internal/obj/x86/6.out.go
src/cmd/internal/obj/x86/anames.go [moved from src/cmd/internal/obj/x86/anames6.go with 98% similarity]