1
0
mirror of https://github.com/golang/go synced 2024-11-20 03:54:40 -07:00
go/src/cmd
Russ Cox 9d2b0e86c8 cmd/ld: skip 0-length write in cwrite
The 0-length part is fine, but some callers that write 0 bytes
also pass nil as the data pointer, and the Plan 9 kernel kills the
process with 'invalid address in sys call' in that case.

R=ken2
CC=golang-dev
https://golang.org/cl/6862051
2012-12-06 00:00:20 -05:00
..
5a cmd/gc, cmd/ld: struct field tracking 2012-11-02 00:17:21 -04:00
5c cmd/5c: fix dataflag annotation 2012-09-25 14:42:44 +08:00
5g cmd/5g: use MOVB for fixed array nil check 2012-12-06 08:01:33 +11:00
5l cmd/ld: fix build on elf systems 2012-11-13 13:12:11 -05:00
6a cmd/gc, cmd/ld: struct field tracking 2012-11-02 00:17:21 -04:00
6c cmd/6c, cmd/8c: use signed char explicitly in mul.c 2012-11-09 21:06:45 +01:00
6g cmd/gc: add division rewrite to walk pass. 2012-11-26 23:45:22 +01:00
6l cmd/6l, cmd/8l: emit no-ops to separate zero-stack funcs from nosplits. 2012-11-26 21:51:48 +01:00
8a cmd/gc, cmd/ld: struct field tracking 2012-11-02 00:17:21 -04:00
8c cmd/6c, cmd/8c: use signed char explicitly in mul.c 2012-11-09 21:06:45 +01:00
8g cmd/5g, cmd/8g: fix internal error on 64-bit indices statically bounded 2012-11-27 21:37:38 +01:00
8l cmd/6l, cmd/8l: emit no-ops to separate zero-stack funcs from nosplits. 2012-11-26 21:51:48 +01:00
addr2line runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00
api cmd/api: speed up API check by 2x, caching parser.ParseFile calls 2012-11-19 13:50:20 -08:00
cc libmach, cmd/cc, cmd/cov, cmd/ld, cmd/prof: check malloc return value 2012-11-27 03:05:46 +08:00
cgo cmd/cgo: fix alignment of bool. 2012-11-21 13:04:38 -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/dist: support building on debian/kFreeBSD 2012-12-04 08:27:30 +11:00
fix go/format: Package format implements standard formatting of Go source. 2012-11-27 10:29:49 -08:00
gc gc: avoid meaningless constant overflow error for inverted slice range 2012-12-05 15:46:45 -08:00
go cmd/go: fix typo in comment 2012-11-24 11:25:17 -08:00
godoc cmd/godoc: fix godoc net/http on windows 2012-12-01 00:42:50 +08:00
gofmt gofmt: simplify slices of the form s[a : len(s)] to s[a:] 2012-10-31 11:48:55 -07:00
ld cmd/ld: skip 0-length write in cwrite 2012-12-06 00:00:20 -05: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 vet: be less strict about number of arguments when a ... is present. 2012-12-06 15:17:31 +11:00
yacc cmd/yacc: allow utf-8 token values 2012-09-13 13:59:00 -07:00