R=golang-dev, 0intro, rsc
CC=golang-dev
https://golang.org/cl/
39680044
}
}
}
- /* TODO
if(ctxt->headtype == Hplan9) {
if(p->from.type == D_INDIR+D_GS
&& p->to.type >= D_AX && p->to.type <= D_DI) {
+ if(ctxt->plan9tos == nil)
+ ctxt->plan9tos = linklookup(ctxt, "_tos", 0);
q = appendp(ctxt, p);
q->from = p->from;
q->from.type = D_INDIR + p->to.type;
q->as = p->as;
p->as = AMOVL;
p->from.type = D_EXTERN;
- p->from.sym = plan9_tos;
+ p->from.sym = ctxt->plan9tos;
p->from.offset = 0;
}
}
- */
}
static Prog*