1
0
mirror of https://github.com/golang/go synced 2024-10-04 04:31:21 -06:00
go/src/cmd
Russ Cox ac0e12d158 cmd/6g: fix stack zeroing on native client
I am not sure what the rounding here was
trying to do, but it was skipping the first
pointer on native client.

The code above the rounding already checks
that xoffset is widthptr-aligned, so the rnd
was a no-op everywhere but on Native Client.
And on Native Client it was wrong.

Perhaps it was supposed to be rounding down,
not up, but zerorange handles the extra 32 bits
correctly, so the rnd does not seem to be necessary
at all.

This wouldn't be worth doing for Go 1.3 except
that it can affect code on the playground.

Fixes #8155.

LGTM=r, iant
R=golang-codereviews, r, iant
CC=dvyukov, golang-codereviews, khr
https://golang.org/cl/108740047
2014-06-05 16:40:23 -04:00
..
5a runtime: provide gc maps for the reflect.callXX frames. 2014-05-21 14:28:34 -07:00
5c liblink, cmd/gc, cmd/{5,6,8}{a,c}: rename linkwriteobj to writeobj 2014-04-16 14:36:44 -07:00
5g cmd/6g: treat vardef-initialized fat variables as live at calls 2014-05-30 16:41:58 -04:00
5l runtime: use duff zero and copy to initialize memory 2014-05-07 13:17:10 -07:00
6a liblink, cmd/gc, cmd/{5,6,8}{a,c}: rename linkwriteobj to writeobj 2014-04-16 14:36:44 -07:00
6c liblink, cmd/gc, cmd/{5,6,8}{a,c}: rename linkwriteobj to writeobj 2014-04-16 14:36:44 -07:00
6g cmd/6g: fix stack zeroing on native client 2014-06-05 16:40:23 -04:00
6l liblink, cmd/ld: reenable nosplit checking and test 2014-04-16 22:08:00 -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 liblink, cmd/gc, cmd/{5,6,8}{a,c}: rename linkwriteobj to writeobj 2014-04-16 14:36:44 -07:00
8g cmd/6g: treat vardef-initialized fat variables as live at calls 2014-05-30 16:41:58 -04:00
8l liblink, cmd/ld: reenable nosplit checking and test 2014-04-16 22:08:00 -04:00
addr2line build: make nacl pass 2014-05-20 12:10:19 -04:00
api api: add go1.3.txt 2014-06-02 11:45:00 +09:00
cc build: remove tmp dir names from objects, support GOROOT_FINAL again 2014-04-15 20:46:46 -04:00
cgo cmd/cgo: for typedef of untagged struct, use typedef name in C code 2014-06-05 10:42:03 -07:00
dist cmd/dist: only use beta tag in version string for the exact revision 2014-06-02 08:48:20 +10:00
fix cmd/fix: remove obsolete testdata. 2013-06-02 15:40:32 +02:00
gc cmd/gc: fix escape analysis of func returning indirect of parameter 2014-06-03 11:35:59 -04:00
go cmd/go: do not miss an error if import path contains "cmd/something" 2014-05-27 23:58:03 -04:00
gofmt all: fix "the the" typos. 2014-05-20 14:42:07 -04:00
ld cmd/ld: correctly compute note size on NetBSD. 2014-05-21 06:18:45 -07:00
link src: fix issues found by go vet std 2014-04-26 19:54:48 -07:00
nm build: make nacl pass 2014-05-20 12:10:19 -04:00
objdump cmd/objdump: add arm disassembler 2014-06-01 18:53:59 -04:00
pack build: make nacl pass 2014-05-20 12:10:19 -04:00
yacc cmd/yacc: expr example support windows 2013-12-19 12:14:07 -05:00