1
0
mirror of https://github.com/golang/go synced 2024-10-07 07:31:21 -06:00
go/src/cmd
Dave Cheney 9b568ef2b8 cmd/5l: reduce the size of Prog and Sym
Prog
* Remove the unused Prog* dlink
* note that align is also unused, but removing it does not help due to alignment issues.

Saves 4 bytes, sizeof(Prog): 84 => 80.

Sym
* Align {u,}char fields on word boundaries

Saves 4 bytes, sizeof(Sym): 136 => 132.

Tested on linux/arm and freebsd/arm.

R=minux.ma, remyoudompheng, rsc
CC=golang-dev
https://golang.org/cl/7106050
2013-01-20 20:14:24 +11:00
..
5a cmd/5a, cmd/5c, cmd/6a, cmd/6c, cmd/8a, cmd/8c, cmd/ld: update reference 2013-01-18 13:39:53 -08:00
5c cmd/5a, cmd/5c, cmd/6a, cmd/6c, cmd/8a, cmd/8c, cmd/ld: update reference 2013-01-18 13:39:53 -08:00
5g cmd/5g: allow optimization of return registers. 2013-01-11 12:29:14 +08:00
5l cmd/5l: reduce the size of Prog and Sym 2013-01-20 20:14:24 +11:00
6a cmd/5a, cmd/5c, cmd/6a, cmd/6c, cmd/8a, cmd/8c, cmd/ld: update reference 2013-01-18 13:39:53 -08:00
6c cmd/6c, cmd/8c: fix print format for Prog 2013-01-18 19:00:38 -08:00
6g cmd/gc, cmd/6g: fix error on large stacks. 2013-01-18 22:36:43 +01:00
6l cmd/8l, cmd/6l: avoid zeroing zeroed fields 2013-01-19 20:23:25 +11:00
8a cmd/5a, cmd/5c, cmd/6a, cmd/6c, cmd/8a, cmd/8c, cmd/ld: update reference 2013-01-18 13:39:53 -08:00
8c cmd/6c, cmd/8c: fix print format for Prog 2013-01-18 19:00:38 -08:00
8g cmd/8g, cmd/dist, cmd/gc: fix warnings on Plan 9 2013-01-18 19:08:00 -08:00
8l cmd/8l, cmd/6l: avoid zeroing zeroed fields 2013-01-19 20:23:25 +11:00
addr2line runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00
api cmd/api: sort features 2013-01-19 22:20:46 -08:00
cc cmd/6c: Optimize rotate expressions to use rotate instructions. 2013-01-18 17:29:53 -05:00
cgo cmd/cgo: for gccgo: use intgo, don't use slice as void return type 2013-01-09 15:25:46 -08:00
cov libmach, cmd/cc, cmd/cov, cmd/ld, cmd/prof: check malloc return value 2012-11-27 03:05:46 +08:00
dist cmd/8g, cmd/dist, cmd/gc: fix warnings on Plan 9 2013-01-18 19:08:00 -08:00
fix cmd/fix: Add keys to printer.Config composite literals. 2012-12-16 19:31:59 -05:00
gc cmd/8g, cmd/dist, cmd/gc: fix warnings on Plan 9 2013-01-18 19:08:00 -08:00
go cmd/go: diagnose un-bootstrapped runtime 2013-01-18 16:24:00 -05:00
godoc cmd/godoc: when redirecting don't clear query string 2013-01-17 18:50:49 +08:00
gofmt all: remove exec bit on files 2013-01-18 02:41:17 +08:00
ld cmd/5a, cmd/5c, cmd/6a, cmd/6c, cmd/8a, cmd/8c, cmd/ld: update reference 2013-01-18 13:39:53 -08:00
nm gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
objdump runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00
pack cmd/pack: rename __.SYMDEF to __.GOSYMDEF 2012-09-13 10:26:21 -04:00
prof libmach, cmd/cc, cmd/cov, cmd/ld, cmd/prof: check malloc return value 2012-11-27 03:05:46 +08:00
vet cmd/vet: don't complain about Error() 2013-01-18 02:24:12 +08:00
yacc cmd/yacc: fix debug print of token name 2012-12-22 16:45:35 -05:00