Revert "selftests: vDSO: fix vDSO symbols lookup for powerpc64"
This reverts commit fbd3c8aee7
.
This commit is contained in:
parent
096a5c2b6a
commit
8b767ca7e6
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue