1
0
mirror of https://github.com/golang/go synced 2024-10-04 11:21:21 -06:00
go/src/cmd/5g
Russ Cox d9c989fa25 various: avoid %ld etc
The Plan 9 tools assume that long is 32 bits.
We converted all instances of long to int32 when
importing the code but missed the print formats.
Because int32 is always int on the compilers we use,
it is never correct to use %lux, %ld, etc.  Convert to %ux, %d, etc.

(It matters because on 64-bit gcc, long is 64 bits,
so we were printing 32-bit quantities with 64-bit formats.)

R=ken2
CC=golang-dev
https://golang.org/cl/2491041
2010-10-13 16:20:22 -04:00
..
cgen64.c removed tempalloc/tempfree and replaced with tempname 2009-10-19 22:47:25 -07:00
cgen.c gc: O(1) string comparison when lengths differ 2010-10-06 09:53:12 -04:00
doc.go tweak documentation of commands 2009-11-09 11:45:15 -08:00
galign.c 5g/8g: fix build 2010-02-17 22:41:04 -08:00
gg.h arm: bugfixes (stack clobbering, indices) 2010-07-30 10:37:51 +03:00
ggen.c code gen error for 2010-09-30 18:02:38 -07:00
gobj.c 5g: fix build 2010-07-27 13:43:58 -07:00
gsubr.c arm code gen error in unsign extend 2010-09-28 18:12:46 -07:00
list.c various: avoid %ld etc 2010-10-13 16:20:22 -04:00
Makefile build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00
opt.h Rebooted 5g effort from 6g. Tons of minor fixes and tweaks to 2009-05-28 14:25:54 -07:00