linker: fix the undefined weak symbols issue
This commit is contained in:
parent
58f0326362
commit
3cab22c8cf
@ -471,7 +471,7 @@ _do_lookup(soinfo *si, const char *name, unsigned *base)
|
|||||||
DEBUG("%5d %s: looking up %s in %s\n",
|
DEBUG("%5d %s: looking up %s in %s\n",
|
||||||
pid, si->name, name, lsi->name);
|
pid, si->name, name, lsi->name);
|
||||||
s = _do_lookup_in_so(lsi, name, &elf_hash);
|
s = _do_lookup_in_so(lsi, name, &elf_hash);
|
||||||
if(s != NULL)
|
if ((s != NULL) && (s->st_shndx != SHN_UNDEF))
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user