warning: src/liblink/list6.c:94 set and not used: s
warning: src/liblink/list6.c:157 format mismatch ld VLONG, arg 3
warning: src/liblink/list6.c:157 format mismatch E UINT, arg 4
warning: src/liblink/list6.c:157 format mismatch d VLONG, arg 5
warning: src/liblink/list6.c:163 set and not used: s
warning: src/liblink/list9.c:105 set and not used: s
warning: src/liblink/list9.c:185 format mismatch ld VLONG, arg 3
warning: src/liblink/list9.c:185 format mismatch E UINT, arg 4
warning: src/liblink/list9.c:185 format mismatch d VLONG, arg 5
warning: src/liblink/list9.c:193 set and not used: s
LGTM=rsc
R=rsc
CC=austin, golang-codereviews, minux
https://golang.org/cl/
176130043
extern LinkArch linkpower64le;
#pragma varargck type "A" int
+#pragma varargck type "E" uint
#pragma varargck type "D" Addr*
#pragma varargck type "lD" Addr*
#pragma varargck type "P" Prog*
if(p->reg)
s += sprint(s, " reg=%d", p->reg);
if(p->to.type != D_NONE)
- s += sprint(s, " to={%#D}", &p->to);
+ sprint(s, " to={%#D}", &p->to);
return fmtstrcpy(fp, str);
}
s += sprint(s, "%s ", dnames6[i]);
else
s += sprint(s, "%d ", i);
- s += sprint(s, "offset=%ld etype=%E width=%d", a->offset, a->etype, a->width);
+ s += sprint(s, "offset=%lld etype=%E width=%lld", a->offset, a->etype, a->width);
if(a->class != 0)
s += sprint(s, " class=%s", cnames9[(int)a->class]);
if(a->sym != nil)
s += sprint(s, " sym=%s", a->sym->name);
if(a->type == D_BRANCH && a->u.branch != nil)
- s += sprint(s, " branch=%.5lld", a->u.branch->pc);
+ sprint(s, " branch=%.5lld", a->u.branch->pc);
goto brk;
}
if(p->from3.type != D_NONE)
s += sprint(s, " from3={%#D}", &p->from3);
if(p->to.type != D_NONE)
- s += sprint(s, " to={%#D}", &p->to);
+ sprint(s, " to={%#D}", &p->to);
return fmtstrcpy(fp, str);
}
s += sprint(s, "name=%s ", dnames9[(int)a->name]);
else
s += sprint(s, "name=%d ", a->name);
- s += sprint(s, "offset=%ld etype=%E width=%d", a->offset, a->etype, a->width);
+ s += sprint(s, "offset=%lld etype=%E width=%lld", a->offset, a->etype, a->width);
if(a->class != 0)
s += sprint(s, " class=%s", cnames9[(int)a->class]);
if(a->reg != NREG)
if(a->sym != nil)
s += sprint(s, " sym=%s", a->sym->name);
if(a->type == D_BRANCH && a->u.branch != nil)
- s += sprint(s, " branch=%.5lld", a->u.branch->pc);
+ sprint(s, " branch=%.5lld", a->u.branch->pc);
goto ret;
}