diff options
author | Russ Cox <rsc@golang.org> | 2014-09-05 14:58:54 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-09-05 14:58:54 -0400 |
commit | e008530606766d3b43ddddaf3b40c062dd7dd02c (patch) | |
tree | 073c37fdfe2d931fce37e50bd45e1afc39fc43cb /misc | |
parent | 1d6a8c81e28b1bd997a7e5b036ad79e59318f951 (diff) | |
download | go-e008530606766d3b43ddddaf3b40c062dd7dd02c.tar.gz |
runtime: handle nil ptr load/store in arm software floating point
We cannot let a real panic start there, because there is C code
on the stack, and worse, there is an assembly frame with a
saved copy of the registers and we have no idea which ones
are pointers.
Instead, detect the nil ptr load/store and return out of the C
and assembly into a stub that will start the call to sigpanic.
Fixes GOARM=5 build.
LGTM=iant
R=golang-codereviews, iant
CC=dave, golang-codereviews, minux, r
https://codereview.appspot.com/138130043
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions