]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/obj/arm64: fix build
authorRuss Cox <rsc@golang.org>
Wed, 29 Jul 2015 21:42:58 +0000 (17:42 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 29 Jul 2015 21:44:27 +0000 (21:44 +0000)
Change-Id: I3088e17aff72096e3ec2ced49c70564627c982a6
Reviewed-on: https://go-review.googlesource.com/12854
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/internal/obj/arm64/obj7.go

index da6edd1740c1192915c2cbae936d3bc532e0e5a9..f43ce0374cdb0b907e43dcf5d93947be3e33bad2 100644 (file)
@@ -576,7 +576,7 @@ func preprocess(ctxt *obj.Link, cursym *obj.LSym) {
                                // that the frame size is 8 mod 16.
                                if ctxt.Autosize == 8 {
                                        ctxt.Autosize += 8
-                                       ctxt.Locals += 8
+                                       cursym.Locals += 8
                                } else {
                                        ctxt.Diag("%v: unaligned frame size %d - must be 8 mod 16 (or 0)", p, ctxt.Autosize-8)
                                }