mirror of
https://github.com/frida/tinycc
synced 2024-11-24 00:29:38 +03:00
Don't drop asm_label hack on external symbols for win32 DLL exports
This commit is contained in:
parent
cf3d23741f
commit
1dd6842654
1
tccgen.c
1
tccgen.c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user