libtcc: tcc_get_symbol uses the TCCState parameter
This allows using tcc_get_symbol on some other than the current TCCState. (Suggested by David Mertens)
This commit is contained in:
3
tcc.h
3
tcc.h
@ -527,6 +527,9 @@ struct TCCState {
|
||||
/* exported dynamic symbol section */
|
||||
Section *dynsym;
|
||||
|
||||
/* copy of the gobal symtab_section variable */
|
||||
Section *symtab;
|
||||
|
||||
int nostdinc; /* if true, no standard headers are added */
|
||||
int nostdlib; /* if true, no standard libraries are added */
|
||||
int nocommon; /* if true, do not use common symbols for .bss data */
|
||||
|
||||
Reference in New Issue
Block a user