Skip to content

Commit

Permalink
From patchwork series 427356
Browse files Browse the repository at this point in the history
  • Loading branch information
Fox Snowpatch committed Oct 9, 2024
1 parent f85c105 commit 79bda26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/include/asm/vdso.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ int vdso_getcpu_init(void);
#ifdef __VDSO64__
#define V_FUNCTION_BEGIN(name) \
.globl name; \
.type name,@function; \
name: \

#define V_FUNCTION_END(name) \
Expand Down
3 changes: 1 addition & 2 deletions tools/testing/selftests/vDSO/parse_vdso.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,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)
Expand Down

0 comments on commit 79bda26

Please sign in to comment.