Commit c742179c authored by Shenghou Ma's avatar Shenghou Ma

cmd/ld: handle IMAGE_SYM_CLASS_LABEL symbols.

Was causing "invalid symbol binding" and thus "malformed pe file" error.

R=golang-dev, alex.brainman, adg
CC=golang-dev
https://golang.org/cl/13722050
parent db71e155
......@@ -468,6 +468,7 @@ readsym(PeObj *obj, int i, PeSym **y)
break;
case IMAGE_SYM_CLASS_NULL:
case IMAGE_SYM_CLASS_STATIC:
case IMAGE_SYM_CLASS_LABEL:
s = lookup(name, version);
s->dupok = 1;
break;
......
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