win32: add -Wl,--stack=xxx switch

For example:

    $ tcc -Wl,--stack=4194309

which means 4 MB.  Default is 1 MB.
This commit is contained in:
grischka
2011-07-11 18:47:16 +02:00
parent 7b573dc239
commit 45184e01d8
3 changed files with 7 additions and 6 deletions

1
tcc.h
View File

@ -565,6 +565,7 @@ struct TCCState {
/* PE info */
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;