mirror of
https://github.com/frida/tinycc
synced 2025-03-08 00:41:33 +03:00
relocate_syms() should using !(nostdlib) for parameter "int do_resolve"
This commit is contained in:
parent
704b602184
commit
4caa9a4cc7
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…
x
Reference in New Issue
Block a user