aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tcc.h b/tcc.h
index 21cce75..a7b6aa6 100644
--- a/tcc.h
+++ b/tcc.h
@@ -462,6 +462,10 @@ struct TCCState {
/* address of text section */
unsigned long text_addr;
int has_text_addr;
+
+ /* symbols to call at load-time / unload-time */
+ const char *init_symbol;
+ const char *fini_symbol;
/* output format, see TCC_OUTPUT_FORMAT_xxx */
int output_format;