Commit 813590b1 authored by Ian Lance Taylor's avatar Ian Lance Taylor

cmd/ld: if we fail from an unexpected PE flags value, print it

R=golang-dev, minux.ma, r
CC=golang-dev
https://golang.org/cl/8709043
parent 709e03f4
......@@ -232,7 +232,7 @@ ldpe(Biobuf *f, char *pkg, int64 len, char *pn)
s->type = STEXT;
break;
default:
werrstr("unexpected flags for PE section %s", sect->name);
werrstr("unexpected flags %#08x for PE section %s", sect->sh.Characteristics, sect->name);
goto bad;
}
s->p = sect->base;
......
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