src/cmd/ld/data.c | 3 +-- diff --git a/src/cmd/ld/data.c b/src/cmd/ld/data.c index 043798c4555e3efc72c3f23786ed7b6a1e867985..ca580b528f5473cd486d092299b216b2bd03e95e 100644 --- a/src/cmd/ld/data.c +++ b/src/cmd/ld/data.c @@ -166,8 +166,7 @@ if(r->type >= 256) 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);