1
0
mirror of https://github.com/golang/go synced 2024-11-27 02:11:17 -07:00

liblink: fix arm wrapper prologue

Fixes arm build.

TBR=khr
CC=golang-codereviews
https://golang.org/cl/132700043
This commit is contained in:
Russ Cox 2014-09-07 08:59:20 -04:00
parent 2034dae94f
commit fb818eab7f

View File

@ -492,7 +492,7 @@ addstacksplit(Link *ctxt, LSym *cursym)
p = appendp(ctxt, p);
p->as = ACMP;
p->from.type = D_REG;
p->from.offset = 2;
p->from.reg = 2;
p->reg = 3;
p = appendp(ctxt, p);