From 097cf3aa5ee370bab50d6d15cef9b0af55a1a3a2 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Sat, 12 Nov 2016 23:16:09 +0800 Subject: Control symbol table of which to relocate symbols Pass pointer to symbol table to relocate the symbols of in relocate_syms --- tcc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index 3010bb9..fbabd7a 100644 --- a/tcc.h +++ b/tcc.h @@ -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); -- cgit v1.3.1