aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorFrederic Feret <tommy.planet@free.fr>2009-08-27 10:12:13 +0200
committergrischka <grischka>2009-11-13 18:09:00 +0100
commit2f73e42d871e9bed3afccbfd8f4c7098895cc3a3 (patch)
treebc68a7b438121c03a23bc42f8fa462a979731757 /tcc.h
parent526c4645048fa469a2941c86a09f4f851a96eb91 (diff)
downloadtinycc-2f73e42d871e9bed3afccbfd8f4c7098895cc3a3.tar.gz
tinycc-2f73e42d871e9bed3afccbfd8f4c7098895cc3a3.tar.bz2
various fixes and new options for PE format
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h9
1 files changed, 9 insertions, 0 deletions
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 */