diff options
| author | Michael Matz <matz@suse.de> | 2017-11-25 19:41:03 +0100 |
|---|---|---|
| committer | Michael Matz <matz@suse.de> | 2017-11-25 19:41:03 +0100 |
| commit | 4266ebd69c2c7d12abee1da1f6c2228232c6bc87 (patch) | |
| tree | 2dc94bdf42516b13083b64e3eeb31f146d1ee4ee /tcc.h | |
| parent | e7c71e24730ae07241980812c8b747963f216260 (diff) | |
| download | tinycc-4266ebd69c2c7d12abee1da1f6c2228232c6bc87.tar.gz tinycc-4266ebd69c2c7d12abee1da1f6c2228232c6bc87.tar.bz2 | |
tccasm: Don't abuse dllexport/dllimport
For tracking if asm symbols are connected with a C symbol,
and if asm symbols need to be global use new flags, instead of
reusing dllimport/dllexport, which would cause unrequested exported
entries on Windows.
This is a stop-gap until the C and asm symtable are unified.
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -440,7 +440,9 @@ struct SymAttr { visibility : 2, dllexport : 1, dllimport : 1, - unused : 5; + asmcsym : 1, + asmexport : 1, + unused : 3; }; /* function attributes or temporary attributes for parsing */ |
