diff options
| author | Rob Pike <r@golang.org> | 2015-03-05 10:39:23 -0800 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2015-03-05 19:18:46 +0000 |
| commit | 24a43e6a7542c2aefd1e2f16f0daae8100e4bdce (patch) | |
| tree | 7102dfdd47ef77116daca5f9a6ed106a0f681d31 /src/cmd/internal/obj/ppc64/obj9.go | |
| parent | d5b5d6702ad7d64f189c915225b945a2aa471a38 (diff) | |
| download | go-24a43e6a7542c2aefd1e2f16f0daae8100e4bdce.tar.xz | |
cmd/internal/obj: delete all Pconv, replace with Prog.String
Remove the per-achitecture formatter for Prog and replace it with
a global String method. Clean up and regularize the output. Update
tests affected by the format; some tests are made correct now when
they were broken before (and known to be).
Also, related: Change the encoding of the (R1+R2) syntax on ppc64
to be equivalent to (R1)(R2*1), which means it needs no special
handling.
Delete the now unused STRINGSZ constant.
Change-Id: I7f6654d11f80065f3914a3f19353f2f12edfe310
Reviewed-on: https://go-review.googlesource.com/6931
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/cmd/internal/obj/ppc64/obj9.go')
| -rw-r--r-- | src/cmd/internal/obj/ppc64/obj9.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cmd/internal/obj/ppc64/obj9.go b/src/cmd/internal/obj/ppc64/obj9.go index 75eca37057..027fffa57a 100644 --- a/src/cmd/internal/obj/ppc64/obj9.go +++ b/src/cmd/internal/obj/ppc64/obj9.go @@ -949,7 +949,6 @@ loop: var Linkppc64 = obj.LinkArch{ ByteOrder: binary.BigEndian, - Pconv: Pconv, Name: "ppc64", Thechar: '9', Preprocess: preprocess, @@ -963,7 +962,6 @@ var Linkppc64 = obj.LinkArch{ var Linkppc64le = obj.LinkArch{ ByteOrder: binary.LittleEndian, - Pconv: Pconv, Name: "ppc64le", Thechar: '9', Preprocess: preprocess, |
