Don't drop asm_label hack on external symbols for win32 DLL exports

This commit is contained in:
Vlad Vissoultchev 2019-05-14 22:34:28 +03:00
parent cf3d23741f
commit 1dd6842654
No known key found for this signature in database
GPG Key ID: 1CE5567AD1148388

View File

@ -1001,6 +1001,7 @@ static Sym *external_sym(int v, CType *type, int r, AttributeDef *ad)
/* push forward reference */
s = sym_push(v, type, r | VT_CONST | VT_SYM, 0);
s->a = ad->a;
s->asm_label = ad->asm_label;
s->sym_scope = 0;
} else {
if (s->type.ref == func_old_type.ref) {