Home
last modified time | relevance | path

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

/external/elfutils/libdwfl/
Drelocate.c579 Elf_Data *reldata = elf_getdata (scn, NULL); in relocate_section() local
580 if (reldata == NULL) in relocate_section()
594 GElf_Rel rel_mem, *r = gelf_getrel (reldata, relidx, &rel_mem); in relocate_section()
608 gelf_update_rel (reldata, relidx, &rel_mem); in relocate_section()
623 GElf_Rela rela_mem, *r = gelf_getrela (reldata, relidx, in relocate_section()
638 gelf_update_rela (reldata, relidx, &rela_mem); in relocate_section()
670 GElf_Rel *r = gelf_getrel (reldata, relidx, &rel_mem); in relocate_section()
674 gelf_update_rel (reldata, next, r); in relocate_section()
682 GElf_Rela *r = gelf_getrela (reldata, relidx, &rela_mem); in relocate_section()
686 gelf_update_rela (reldata, next, r); in relocate_section()
[all …]
/external/elfutils/src/
Di386_ld.c413 Elf_Data *reldata = elf_getdata (scn, NULL); in elf_i386_finalize_plt() local
414 assert (shdr != NULL && reldata != NULL); in elf_i386_finalize_plt()
503 assert (pltidx * sizeof (Elf32_Rel) <= reldata->d_size); in elf_i386_finalize_plt()
504 xelf_getrel_ptr (reldata, pltidx - 1, rel); in elf_i386_finalize_plt()
509 (void) xelf_update_rel (reldata, pltidx - 1, rel); in elf_i386_finalize_plt()
746 Elf_Data *reldata = elf_getdata (runp->scn, NULL); in elf_i386_create_relocations() local
772 xelf_getrel (reldata, cnt, rel); in elf_i386_create_relocations()
1021 xelf_getrel (reldata, cnt, rel); in elf_i386_create_relocations()
Dstrip.c1783 Elf_Data *reldata = elf_getdata (scn, NULL); in handle_elf() local
1784 if (reldata == NULL || reldata->d_buf == NULL) in handle_elf()
1943 GElf_Rel *r = gelf_getrel (reldata, relidx, &rel_mem); in handle_elf()
1949 gelf_update_rel (reldata, next, r); in handle_elf()
1957 GElf_Rela *r = gelf_getrela (reldata, relidx, &rela_mem); in handle_elf()
1963 gelf_update_rela (reldata, next, r); in handle_elf()
1969 shdr->sh_size = reldata->d_size = nrels * shdr->sh_entsize; in handle_elf()
Delflint.c1118 Elf_Data *reldata = elf_getdata (elf_getscn (ebl->elf, in is_rel_dyn() local
1120 if (reldata != NULL && shdr->sh_entsize != 0) in is_rel_dyn()
1126 GElf_Rel *rel = gelf_getrel (reldata, inner, in is_rel_dyn()
1171 Elf_Data *reldata = elf_getdata (elf_getscn (ebl->elf, in is_rel_dyn() local
1173 if (reldata != NULL && shdr->sh_entsize != 0) in is_rel_dyn()
1179 GElf_Rela *rela = gelf_getrela (reldata, inner, in is_rel_dyn()