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,7 +166,6 @@ relocsym(Sym *s) ...@@ -166,7 +166,6 @@ relocsym(Sym *s)
continue; continue;
if(r->sym != S && r->sym->type == SDYNIMPORT) 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) if(r->sym != S && !r->sym->reachable)
......
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