Home
last modified time | relevance | path

Searched refs:reldata (Results 1 – 5 of 5) sorted by relevance

/external/elfutils/0.153/libdwfl/
Drelocate.c463 Elf_Data *reldata = elf_getdata (scn, NULL); in relocate_section() local
464 if (reldata == NULL) in relocate_section()
486 GElf_Rel rel_mem, *r = gelf_getrel (reldata, relidx, &rel_mem); in relocate_section()
499 gelf_update_rel (reldata, relidx, &rel_mem); in relocate_section()
514 GElf_Rela rela_mem, *r = gelf_getrela (reldata, relidx, in relocate_section()
528 gelf_update_rela (reldata, relidx, &rela_mem); in relocate_section()
560 GElf_Rel *r = gelf_getrel (reldata, relidx, &rel_mem); in relocate_section()
564 gelf_update_rel (reldata, next, r); in relocate_section()
572 GElf_Rela *r = gelf_getrela (reldata, relidx, &rela_mem); in relocate_section()
576 gelf_update_rela (reldata, next, r); in relocate_section()
[all …]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dsymbol-elf.c165 #define elf_section__for_each_rel(reldata, pos, pos_mem, idx, nr_entries) \ argument
166 for (idx = 0, pos = gelf_getrel(reldata, 0, &pos_mem); \
168 ++idx, pos = gelf_getrel(reldata, idx, &pos_mem))
170 #define elf_section__for_each_rela(reldata, pos, pos_mem, idx, nr_entries) \ argument
171 for (idx = 0, pos = gelf_getrela(reldata, 0, &pos_mem); \
173 ++idx, pos = gelf_getrela(reldata, idx, &pos_mem))
191 Elf_Data *reldata, *syms, *symstrs; in dso__synthesize_plt_symbols() local
233 reldata = elf_getdata(scn_plt_rel, NULL); in dso__synthesize_plt_symbols()
234 if (reldata == NULL) in dso__synthesize_plt_symbols()
258 elf_section__for_each_rela(reldata, pos, pos_mem, idx, in dso__synthesize_plt_symbols()
[all …]
/external/elfutils/0.153/src/
Di386_ld.c421 Elf_Data *reldata = elf_getdata (scn, NULL); in elf_i386_finalize_plt() local
422 assert (shdr != NULL && reldata != NULL); in elf_i386_finalize_plt()
511 assert (pltidx * sizeof (Elf32_Rel) <= reldata->d_size); in elf_i386_finalize_plt()
512 xelf_getrel_ptr (reldata, pltidx - 1, rel); in elf_i386_finalize_plt()
517 (void) xelf_update_rel (reldata, pltidx - 1, rel); in elf_i386_finalize_plt()
754 Elf_Data *reldata = elf_getdata (runp->scn, NULL); in elf_i386_create_relocations() local
780 xelf_getrel (reldata, cnt, rel); in elf_i386_create_relocations()
1029 xelf_getrel (reldata, cnt, rel); in elf_i386_create_relocations()
Dstrip.c1664 Elf_Data *reldata = elf_getdata (scn, NULL); in handle_elf() local
1810 GElf_Rel *r = gelf_getrel (reldata, relidx, &rel_mem); in handle_elf()
1816 gelf_update_rel (reldata, next, r); in handle_elf()
1824 GElf_Rela *r = gelf_getrela (reldata, relidx, &rela_mem); in handle_elf()
1830 gelf_update_rela (reldata, next, r); in handle_elf()
1836 shdr->sh_size = reldata->d_size = nrels * shdr->sh_entsize; in handle_elf()
Delflint.c1076 Elf_Data *reldata = elf_getdata (elf_getscn (ebl->elf, in is_rel_dyn() local
1078 if (reldata != NULL) in is_rel_dyn()
1084 GElf_Rel *rel = gelf_getrel (reldata, inner, in is_rel_dyn()
1128 Elf_Data *reldata = elf_getdata (elf_getscn (ebl->elf, in is_rel_dyn() local
1130 if (reldata != NULL) in is_rel_dyn()
1136 GElf_Rela *rela = gelf_getrela (reldata, inner, in is_rel_dyn()