aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/tcc.h b/tcc.h
index 29953a6..bb3eb9f 100644
--- a/tcc.h
+++ b/tcc.h
@@ -397,7 +397,8 @@ typedef struct ASMOperand {
#endif
struct TCCState {
- int output_type;
+ unsigned output_type : 8;
+ unsigned reloc_output : 1;
BufferedFile **include_stack_ptr;
int *ifdef_stack_ptr;
@@ -518,6 +519,16 @@ struct TCCState {
/* output file for preprocessing */
FILE *outfile;
+ /* input files and libraries for this compilation */
+ char **input_files;
+ int nb_input_files;
+ char **input_libs;
+ int nb_input_libs;
+
+ /* automatically collected dependencies for this compilation */
+ char **target_deps;
+ int nb_target_deps;
+
/* for tcc_relocate */
int runtime_added;
void *runtime_mem;