1
0
mirror of https://github.com/golang/go synced 2024-10-04 12:21:26 -06:00
go/src/cmd
Matthew Dempsky eae9fee3bf cmd/link: fix zig-zag decoding
The >>1 shift needs to happen before converting to int32, otherwise
large values will decode with an incorrect sign bit.

The <<31 shift can happen before or after, but before is consistent
with liblink and the go12symtab doc.

Bug demo at http://play.golang.org/p/jLrhPUakIu

LGTM=rsc
R=golang-codereviews, minux, rsc
CC=golang-codereviews
https://golang.org/cl/119630043
2014-08-11 13:53:38 -04:00
..
5a all: remove 'extern register M *m' from runtime 2014-06-26 11:54:39 -04:00
5c cmd/5c, cmd/5g, cmd/5l, liblink: nacl/arm support 2014-07-10 15:14:37 -04:00
5g cmd/5g: remove dead code. 2014-07-26 17:45:24 -04:00
5l liblink, cmd/dist, cmd/5l: introduce %^ and move C_* constants. 2014-08-06 00:31:22 -04:00
6a liblink, cmd/gc, cmd/{5,6,8}{a,c}: rename linkwriteobj to writeobj 2014-04-16 14:36:44 -07:00
6c cmd/5c, cmd/6c, cmd/8c, cmd/cc: remove unused global variable retok. 2014-06-17 02:05:27 -04:00
6g cmd/gc: mark auxiliary symbols as containing no pointers 2014-07-23 17:36:10 +04:00
6l cmd/5l, cmd/6l, cmd/8l, cmd/ld: remove unused code, consolidate enums 2014-08-06 00:25:52 -04:00
8a liblink, cmd/gc, cmd/{5,6,8}{a,c}: rename linkwriteobj to writeobj 2014-04-16 14:36:44 -07:00
8c cmd/5c, cmd/6c, cmd/8c, cmd/cc: remove unused global variable retok. 2014-06-17 02:05:27 -04:00
8g cmd/gc: mark auxiliary symbols as containing no pointers 2014-07-23 17:36:10 +04:00
8l cmd/5l, cmd/6l, cmd/8l, cmd/ld: remove unused code, consolidate enums 2014-08-06 00:25:52 -04:00
addr2line cmd/addr2line, cmd/nm: factor object reading into cmd/internal/objfile 2014-08-07 12:33:06 -04:00
api runtime: convert interface routines from C to Go. 2014-08-07 13:58:42 -07:00
cc cmd/cc, runtime: eliminate use of the unnamed substructure C extension 2014-08-07 09:00:02 -04:00
cgo cmd/cgo: consistently map void* to *byte under -{c,go}defs 2014-08-06 10:28:19 -07:00
dist dist: fix Plan 9 build 2014-08-06 06:11:41 -07:00
fix cmd/fix: mention -help instead of the non-existent -? flag 2014-08-07 23:24:32 +10:00
gc runtime: convert equality functions to Go 2014-08-07 14:52:55 -07:00
go cmd/go: fix build in airplane mode 2014-08-08 16:20:20 +09:00
gofmt gofmt: -s flag simplifies "for _ = range x" 2014-07-17 09:40:27 -07:00
internal/objfile cmd/addr2line, cmd/nm: factor object reading into cmd/internal/objfile 2014-08-07 12:33:06 -04:00
ld undo CL 114420043 / b613f2acdf69 2014-08-06 02:07:31 -04:00
link cmd/link: fix zig-zag decoding 2014-08-11 13:53:38 -04:00
nm cmd/addr2line, cmd/nm: factor object reading into cmd/internal/objfile 2014-08-07 12:33:06 -04:00
objdump cmd/addr2line, cmd/objdump: fix on amd64 Plan 9 2014-07-19 12:16:16 +03:00
pack cmd/pack: skip test on android (no Go tool) 2014-07-08 13:45:06 -04:00
yacc cmd/yacc: expr example support windows 2013-12-19 12:14:07 -05:00