relocate_syms() should using !(nostdlib) for parameter "int do_resolve"
This commit is contained in:
parent
704b602184
commit
4caa9a4cc7
1 changed files with 1 additions and 1 deletions
2
tccrun.c
2
tccrun.c
|
@ -254,7 +254,7 @@ static int tcc_relocate_ex(TCCState *s1, void *ptr, addr_t ptr_diff)
|
|||
}
|
||||
|
||||
/* relocate symbols */
|
||||
relocate_syms(s1, s1->symtab, 1);
|
||||
relocate_syms(s1, s1->symtab, !(s1->nostdlib));
|
||||
if (s1->nb_errors)
|
||||
return -1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue