|
@@ -175,12 +175,12 @@ char *_dl_find_hash(const char *name, struct dyn_elf *rpnt, struct elf_resolve *
|
|
|
|
|
|
if (type_class & (sym->st_shndx == SHN_UNDEF))
|
|
|
continue;
|
|
|
- if (_dl_strcmp(strtab + sym->st_name, name) != 0)
|
|
|
- continue;
|
|
|
if (sym->st_value == 0)
|
|
|
continue;
|
|
|
if (ELF_ST_TYPE(sym->st_info) > STT_FUNC)
|
|
|
continue;
|
|
|
+ if (_dl_strcmp(strtab + sym->st_name, name) != 0)
|
|
|
+ continue;
|
|
|
|
|
|
switch (ELF_ST_BIND(sym->st_info)) {
|
|
|
case STB_WEAK:
|