Revert "selftests: vDSO: fix vDSO symbols lookup for powerpc64"

This reverts commit fbd3c8aee7.
This commit is contained in:
Ksawlii 2024-11-24 00:23:05 +01:00
parent 096a5c2b6a
commit 8b767ca7e6

View file

@ -216,8 +216,7 @@ void *vdso_sym(const char *version, const char *name)
ELF(Sym) *sym = &vdso_info.symtab[chain];
/* Check for a defined global or weak function w/ right name. */
if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC &&
ELF64_ST_TYPE(sym->st_info) != STT_NOTYPE)
if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC)
continue;
if (ELF64_ST_BIND(sym->st_info) != STB_GLOBAL &&
ELF64_ST_BIND(sym->st_info) != STB_WEAK)