diff options
| author | grischka <grischka> | 2014-04-17 17:01:28 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2014-04-17 17:01:28 +0200 |
| commit | 2ac238fc507b64a8dd2d5d3d5c00210c1ffabea5 (patch) | |
| tree | 935dafb1204a3682ce9bfd74258cf52301b06a4e /tcc.h | |
| parent | 6b7a6fcbc8b9ed623a436dc2218cfe31b991037c (diff) | |
| download | tinycc-2ac238fc507b64a8dd2d5d3d5c00210c1ffabea5.tar.gz tinycc-2ac238fc507b64a8dd2d5d3d5c00210c1ffabea5.tar.bz2 | |
tccpe: adjust for new 'hidden' symbols feature
in order to avoid conflicts with windows specific (ab)usage
of the Elf32_Sym -> st_other field.
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1392,6 +1392,10 @@ ST_FUNC SValue *pe_getimport(SValue *sv, SValue *v2); #ifdef TCC_TARGET_X86_64 ST_FUNC void pe_add_unwind_data(unsigned start, unsigned end, unsigned stack); #endif +/* symbol properties stored in Elf32_Sym->st_other */ +# define ST_PE_EXPORT 0x10 +# define ST_PE_IMPORT 0x20 +# define ST_PE_STDCALL 0x40 #endif /* ------------ tccrun.c ----------------- */ |
