Home
last modified time | relevance | path

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

/external/elfutils/libelf/
Dgelf_getversym.c62 GElf_Versym *
66 GElf_Versym *dst;
70 GElf_Versym *result;
88 assert (sizeof (GElf_Versym) == sizeof (Elf32_Versym));
89 assert (sizeof (GElf_Versym) == sizeof (Elf64_Versym));
95 if (unlikely ((ndx + 1) * sizeof (GElf_Versym) > data->d_size))
102 *dst = ((GElf_Versym *) data->d_buf)[ndx];
Dgelf_update_versym.c66 GElf_Versym *src;
74 assert (sizeof (GElf_Versym) == sizeof (Elf32_Versym));
75 assert (sizeof (GElf_Versym) == sizeof (Elf64_Versym));
79 || unlikely ((ndx + 1) * sizeof (GElf_Versym) > data_scn->d.d_size))
94 ((GElf_Versym *) data_scn->d.d_buf)[ndx] = *src;
Dgelf.h127 typedef Elf64_Versym GElf_Versym; typedef
287 extern GElf_Versym *gelf_getversym (Elf_Data *__data, int __ndx,
288 GElf_Versym *__dst);
292 GElf_Versym *__src);
/external/elfutils/src/
Dxelf.h312 # define XElf_Versym GElf_Versym
352 # define XElf_Versym_vardef(name) GElf_Versym name
Dunstrip.c500 assert (sizeof (Elf32_Versym) == sizeof (GElf_Versym)); in adjust_relocs()
501 assert (sizeof (Elf64_Versym) == sizeof (GElf_Versym)); in adjust_relocs()
502 GElf_Versym *versym = xcalloc (nent, sizeof versym[0]); in adjust_relocs()
506 GElf_Versym *v = gelf_getversym (data, i, &versym[map[i - 1]]); in adjust_relocs()
Delflint.c2616 GElf_Versym ndx;
2623 add_version (const char *objname, const char *name, GElf_Versym ndx, int type) in add_version()
2699 GElf_Versym versym_mem; in check_versym()
2700 GElf_Versym *versym = gelf_getversym (data, cnt, &versym_mem); in check_versym()
2735 if (runp->ndx == (*versym & (GElf_Versym) 0x7fff)) in check_versym()
Dreadelf.c1870 GElf_Versym versym_mem; in handle_symtab()
1871 GElf_Versym *versym = gelf_getversym (versym_data, cnt, &versym_mem); in handle_symtab()
2429 GElf_Versym symmem; in handle_versym()
2430 GElf_Versym *sym = gelf_getversym (data, cnt, &symmem); in handle_versym()
Dstrip.c1153 assert ((versiondata->d_size / sizeof (GElf_Versym)) in handle_elf()
DChangeLog781 * elflint.c (struct version_namelist): Use GElf_Versym for `ndx' field.
783 (check_versym): Cast constant to GElf_Versym for comparison.
Dldgeneric.c5789 GElf_Versym versym; in ld_generic_create_outfile()
5918 GElf_Versym versym; in ld_generic_create_outfile()
5929 GElf_Versym global = VER_NDX_GLOBAL; in ld_generic_create_outfile()
/external/elfutils/tests/
Drun-strings-test.sh390 testfile8: 8160 (versiondata->d_size / sizeof (GElf_Versym)) >= shdr_info[cnt].data->d_size / el…