Control symbol table of which to relocate symbols

Pass pointer to symbol table to relocate the symbols of in relocate_syms
This commit is contained in:
Thomas Preud'homme
2016-11-12 23:16:09 +08:00
parent c4bec037be
commit 097cf3aa5e
4 changed files with 6 additions and 6 deletions

2
tcc.h
View File

@ -1375,7 +1375,7 @@ ST_FUNC void put_stabn(int type, int other, int desc, int value);
ST_FUNC void put_stabd(int type, int other, int desc);
ST_FUNC void relocate_common_syms(void);
ST_FUNC void relocate_syms(TCCState *s1, int do_resolve);
ST_FUNC void relocate_syms(TCCState *s1, Section *symtab, int do_resolve);
ST_FUNC void relocate_section(TCCState *s1, Section *s);
ST_FUNC void relocate_plt(TCCState *s1);