From: Alex Brainman Date: Thu, 16 Dec 2010 01:19:59 +0000 (+1100) Subject: 8l: remove unneeded windows check X-Git-Tag: weekly.2010-12-15~1 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f8b7eda5f69ef8363e31d0090885a0c6dcf7add1;p=gostls13.git 8l: remove unneeded windows check R=golang-dev, rsc CC=golang-dev https://golang.org/cl/3691042 --- diff --git a/src/cmd/ld/data.c b/src/cmd/ld/data.c index 043798c455..ca580b528f 100644 --- a/src/cmd/ld/data.c +++ b/src/cmd/ld/data.c @@ -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);