diff options
| author | grischka <grischka> | 2011-07-14 19:09:49 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2011-07-14 19:09:49 +0200 |
| commit | df4c0892f3fb5170042652cd648a29c94c3a2eca (patch) | |
| tree | 0db41a085d08276f9804b4905949c60ff1f7500f /tcc.h | |
| parent | 232650f8b3a786e82071c12a1ee8eea60684279a (diff) | |
| download | tinycc-df4c0892f3fb5170042652cd648a29c94c3a2eca.tar.gz tinycc-df4c0892f3fb5170042652cd648a29c94c3a2eca.tar.bz2 | |
tccrun: win64: add unwind function table for dynamic code
This works only when tcc.exe is compiled using MSC. MinGW does
something in the startup code that defeats it.
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -566,10 +566,11 @@ struct TCCState { int pe_subsystem; unsigned long pe_file_align; unsigned long pe_stack_size; - struct pe_uw { - Section *pdata; - int sym_1, sym_2, offs_1; - } pe_unwind; +#ifdef TCC_TARGET_X86_64 + Section *uw_pdata; + int uw_sym; + unsigned uw_offs; +#endif #endif #ifndef TCC_TARGET_PE |
