aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
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 */