]> Cypherpunks repositories - gostls13.git/commit
5g/8g, 8l, ld, prof: fix output of 32-bit values
authorEoghan Sherry <ejsherry@gmail.com>
Sun, 12 Dec 2010 19:40:19 +0000 (14:40 -0500)
committerRuss Cox <rsc@golang.org>
Sun, 12 Dec 2010 19:40:19 +0000 (14:40 -0500)
commit40ff071e9b7263f20115f7f84c750e537f58b8a0
treebca2b4ce61ff0fb5ba20bf002e1b7e7ec7421a29
parent73fd298901bab5e41df898f36a7ce615141c53a8
5g/8g, 8l, ld, prof: fix output of 32-bit values

If an %lld argument can be 32 or 64 bits wide, cast to vlong.
If always 32 bits, drop the ll.
Fixes #1336.

R=brainman, rsc
CC=golang-dev
https://golang.org/cl/3580041
src/cmd/5g/gsubr.c
src/cmd/8g/gsubr.c
src/cmd/8l/span.c
src/cmd/ld/data.c
src/cmd/ld/dwarf.c
src/cmd/ld/lib.c
src/cmd/prof/main.c