Home
last modified time | relevance | path

Searched refs:GElf_Versym (Results 1 – 13 of 13) sorted by relevance

/third_party/elfutils/libelf/
Dgelf_getversym.c41 GElf_Versym *
42 gelf_getversym (Elf_Data *data, int ndx, GElf_Versym *dst) in gelf_getversym()
46 GElf_Versym *result; in gelf_getversym()
64 assert (sizeof (GElf_Versym) == sizeof (Elf32_Versym)); in gelf_getversym()
65 assert (sizeof (GElf_Versym) == sizeof (Elf64_Versym)); in gelf_getversym()
71 if (INVALID_NDX (ndx, GElf_Versym, data)) in gelf_getversym()
78 *dst = ((GElf_Versym *) data->d_buf)[ndx]; in gelf_getversym()
Dgelf_update_versym.c42 gelf_update_versym (Elf_Data *data, int ndx, GElf_Versym *src) in gelf_update_versym()
50 assert (sizeof (GElf_Versym) == sizeof (Elf32_Versym)); in gelf_update_versym()
51 assert (sizeof (GElf_Versym) == sizeof (Elf64_Versym)); in gelf_update_versym()
54 if (INVALID_NDX (ndx, GElf_Versym, &data_scn->d)) in gelf_update_versym()
69 ((GElf_Versym *) data_scn->d.d_buf)[ndx] = *src; in gelf_update_versym()
Dgelf.h109 typedef Elf64_Versym GElf_Versym; typedef
276 extern GElf_Versym *gelf_getversym (Elf_Data *__data, int __ndx,
277 GElf_Versym *__dst);
281 GElf_Versym *__src);
/third_party/libabigail/src/
Dabg-elf-helpers.h149 GElf_Versym* versym,
155 GElf_Versym* versym,
Dabg-elf-helpers.cc723 GElf_Versym* versym, in get_version_definition_for_versym()
784 GElf_Versym* versym, in get_version_needed_for_versym()
871 GElf_Versym versym_mem; in get_version_for_symbol()
875 GElf_Versym* versym = (versym_data) in get_version_for_symbol()
/third_party/libbpf/src/
Delf.c192 GElf_Versym versym; in elf_sym_iter_next()
242 versym = (GElf_Versym)iter->versysm->d_buf[idx]; in elf_sym_iter_next()
Dlibbpf_internal.h35 typedef Elf64_Half GElf_Versym ; typedef
/third_party/elfutils/src/
Dunstrip.c573 assert (sizeof (Elf32_Versym) == sizeof (GElf_Versym)); in adjust_relocs()
574 assert (sizeof (Elf64_Versym) == sizeof (GElf_Versym)); in adjust_relocs()
575 GElf_Versym *versym = xcalloc (nent, sizeof versym[0]); in adjust_relocs()
579 GElf_Versym *v = gelf_getversym (data, i, &versym[map[i - 1]]); in adjust_relocs()
Delflint.c2896 GElf_Versym ndx;
2903 add_version (const char *objname, const char *name, GElf_Versym ndx, int type) in add_version()
2980 GElf_Versym versym_mem; in check_versym()
2981 GElf_Versym *versym = gelf_getversym (data, cnt, &versym_mem); in check_versym()
3016 if (runp->ndx == (*versym & (GElf_Versym) 0x7fff)) in check_versym()
Dstrip.c1976 && ((versiondata->d_size / sizeof (GElf_Versym)) in handle_elf()
Dreadelf.c2593 GElf_Versym versym_mem; in handle_symtab()
2594 GElf_Versym *versym = gelf_getversym (versym_data, cnt, &versym_mem); in handle_symtab()
3198 GElf_Versym symmem; in handle_versym()
3199 GElf_Versym *sym = gelf_getversym (data, cnt, &symmem); in handle_versym()
DChangeLog4660 * elflint.c (struct version_namelist): Use GElf_Versym for `ndx' field.
4662 (check_versym): Cast constant to GElf_Versym for comparison.
/third_party/elfutils/tests/
Drun-strings-test.sh382 testfile8: 8160 (versiondata->d_size / sizeof (GElf_Versym)) >= shdr_info[cnt].data->d_size / el…