]> Cypherpunks repositories - gostls13.git/commit
cmd/6c, cmd/8c: fix print format for Prog
authorAnthony Martin <ality@pbrane.org>
Sat, 19 Jan 2013 03:00:38 +0000 (19:00 -0800)
committerAnthony Martin <ality@pbrane.org>
Sat, 19 Jan 2013 03:00:38 +0000 (19:00 -0800)
commit60826e0be6e62ae76f5771b22894bd3dc8bade10
tree6834f27af41cd7831c8ebb8f765d2d2fe82ab929
parentc8c8ab08ed4946e719d0ae001d9af3287e73b70d
cmd/6c, cmd/8c: fix print format for Prog

The FmtLong flag should only be used with the %D verb
when printing an ATEXT Prog. It was erroneously used
for every Prog except ADATA. This caused a preponderance
of exclamation points, "!!", in the assembly listings.

I also cleaned up the code so that the list.c files look
very similar. Now the real differences are easily spotted
with a simple diff.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7128045
src/cmd/6c/list.c
src/cmd/8c/list.c