aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2010-12-16 12:19:59 +1100
committerAlex Brainman <alex.brainman@gmail.com>2010-12-16 12:19:59 +1100
commitf8b7eda5f69ef8363e31d0090885a0c6dcf7add1 (patch)
tree52915c84380a896f4f068cc62e207824bdf9957d
parentc83451971e1f55e3507087f289891bad7942fe56 (diff)
downloadgo-f8b7eda5f69ef8363e31d0090885a0c6dcf7add1.tar.gz
go-f8b7eda5f69ef8363e31d0090885a0c6dcf7add1.zip
8l: remove unneeded windows check
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/3691042
-rw-r--r--src/cmd/ld/data.c3
1 files changed, 1 insertions, 2 deletions
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);