libtcc: Detect (but ignore) -init and -fini for -Wl

--
By by ... Detlef
This commit is contained in:
Detlef Riekenberg
2010-04-05 22:56:33 +02:00
parent 87574de8ed
commit 34dabe496f
4 changed files with 26 additions and 13 deletions

4
tcc.h
View File

@ -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;