From 2f73e42d871e9bed3afccbfd8f4c7098895cc3a3 Mon Sep 17 00:00:00 2001 From: Frederic Feret Date: Thu, 27 Aug 2009 10:12:13 +0200 Subject: various fixes and new options for PE format --- tcc.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index 8d52491..b481981 100644 --- a/tcc.h +++ b/tcc.h @@ -515,6 +515,15 @@ struct TCCState { int seg_size; #endif + /* section alignment */ + unsigned long section_align; + +#ifdef TCC_TARGET_PE + /* PE info */ + int pe_subsystem; + unsigned long pe_file_align; +#endif + #ifndef TCC_TARGET_PE #ifdef TCC_TARGET_X86_64 /* write PLT and GOT here */ -- cgit v1.3.1