diff options
| author | Russ Cox <rsc@golang.org> | 2014-09-07 08:59:20 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-09-07 08:59:20 -0400 |
| commit | fb818eab7fde33270bbbcf06d984af6db1c3eb0a (patch) | |
| tree | bf72bf3ef4097da35a3133f091ab5af4736ec68e /src/liblink | |
| parent | 2034dae94fe8d627c3f746b8a14b4b4c83aecaee (diff) | |
| download | go-fb818eab7fde33270bbbcf06d984af6db1c3eb0a.tar.xz | |
liblink: fix arm wrapper prologue
Fixes arm build.
TBR=khr
CC=golang-codereviews
https://golang.org/cl/132700043
Diffstat (limited to 'src/liblink')
| -rw-r--r-- | src/liblink/obj5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblink/obj5.c b/src/liblink/obj5.c index e8b81ec5ca..0b6b8deb5f 100644 --- a/src/liblink/obj5.c +++ b/src/liblink/obj5.c @@ -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); |
