1
0
mirror of https://github.com/golang/go synced 2024-11-20 10:04:45 -07:00

8l: remove unneeded windows check

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/3691042
This commit is contained in:
Alex Brainman 2010-12-16 12:19:59 +11:00
parent c83451971e
commit f8b7eda5f6

View File

@ -166,8 +166,7 @@ relocsym(Sym *s)
continue;
if(r->sym != S && r->sym->type == SDYNIMPORT)
if (thechar != '8' || HEADTYPE != 10) // Windows PE supports relocation references to dynamic import symbols
diag("unhandled relocation for %s (type %d rtype %d)", r->sym->name, r->sym->type, r->type);
diag("unhandled relocation for %s (type %d rtype %d)", r->sym->name, r->sym->type, r->type);
if(r->sym != S && !r->sym->reachable)
diag("unreachable sym in relocation: %s %s", s->name, r->sym->name);