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];
|
ELF(Sym) *sym = &vdso_info.symtab[chain];
|
||||||
|
|
||||||
/* Check for a defined global or weak function w/ right name. */
|
/* Check for a defined global or weak function w/ right name. */
|
||||||
if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC &&
|
if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC)
|
||||||
ELF64_ST_TYPE(sym->st_info) != STT_NOTYPE)
|
|
||||||
continue;
|
continue;
|
||||||
if (ELF64_ST_BIND(sym->st_info) != STB_GLOBAL &&
|
if (ELF64_ST_BIND(sym->st_info) != STB_GLOBAL &&
|
||||||
ELF64_ST_BIND(sym->st_info) != STB_WEAK)
|
ELF64_ST_BIND(sym->st_info) != STB_WEAK)
|
||||||
|
|
Loading…
Add table
Reference in a new issue