diff options
| author | grischka <grischka> | 2009-07-18 22:06:54 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2009-07-18 22:06:54 +0200 |
| commit | fc977d56c90b6c6a54b7e831b5c88e37f54a5cae (patch) | |
| tree | 51d2b865b88ba820373d8240377926bca63f857d /tccpe.c | |
| parent | c0fc0fa0c4276debb7d0fd24f91e3af38128ad28 (diff) | |
| download | tinycc-fc977d56c90b6c6a54b7e831b5c88e37f54a5cae.tar.gz tinycc-fc977d56c90b6c6a54b7e831b5c88e37f54a5cae.tar.bz2 | |
x86-64: chkstk, alloca
Diffstat (limited to 'tccpe.c')
| -rw-r--r-- | tccpe.c | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -193,8 +193,8 @@ typedef struct _IMAGE_EXPORT_DIRECTORY { typedef struct _IMAGE_IMPORT_DESCRIPTOR { union { - DWORD Characteristics; - DWORD OriginalFirstThunk; + DWORD Characteristics; + DWORD OriginalFirstThunk; }; DWORD TimeDateStamp; DWORD ForwarderChain; @@ -350,12 +350,7 @@ ST_DATA struct pe_header pe_header = { 0x0002, /*WORD Subsystem; */ 0x0000, /*WORD DllCharacteristics; */ 0x00100000, /*DWORD SizeOfStackReserve; */ -#ifdef TCC_TARGET_X86_64 - // need to have a __chkstk eventually - 0x00008000, /*DWORD SizeOfStackCommit; */ -#else 0x00001000, /*DWORD SizeOfStackCommit; */ -#endif 0x00100000, /*DWORD SizeOfHeapReserve; */ 0x00001000, /*DWORD SizeOfHeapCommit; */ 0x00000000, /*DWORD LoaderFlags; */ |
