mirror of
https://github.com/golang/go
synced 2024-11-20 01:24: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:
parent
709e03f43d
commit
813590b145
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user