Commit 77720904 authored by Russ Cox's avatar Russ Cox

liblink: fix arm build

The arm puts the text flags in a different place
than the other architectures. This needs to be
cleaned up.

TBR=minux
CC=golang-codereviews
https://golang.org/cl/71260043
parent b38320bf
...@@ -411,7 +411,7 @@ addstacksplit(Link *ctxt, LSym *cursym) ...@@ -411,7 +411,7 @@ addstacksplit(Link *ctxt, LSym *cursym)
} }
if(!(p->reg & NOSPLIT)) if(!(p->reg & NOSPLIT))
p = stacksplit(ctxt, p, autosize, !(cursym->text->from.scale&NEEDCTXT)); // emit split check p = stacksplit(ctxt, p, autosize, !(cursym->text->reg&NEEDCTXT)); // emit split check
// MOVW.W R14,$-autosize(SP) // MOVW.W R14,$-autosize(SP)
p = appendp(ctxt, p); p = appendp(ctxt, p);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment