1
0
mirror of https://github.com/golang/go synced 2024-11-19 23:44:43 -07:00

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
This commit is contained in:
Ian Lance Taylor 2013-04-12 07:58:50 -07:00
parent 709e03f43d
commit 813590b145

View File

@ -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;