Commit f8b7eda5 authored by Alex Brainman's avatar Alex Brainman

8l: remove unneeded windows check

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/3691042
parent c8345197
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment