Lines Matching defs:relocated
116 Elf *relocated, struct reloc_symtab_cache *cache,
121 if (mod->symfile == NULL || mod->symfile->elf != relocated)
129 while ((scn = elf_nextscn (relocated, scn)) != NULL)
146 cache->symelf = relocated;
172 the file being relocated, so it's what we need. Or else
324 Elf * const relocated,
364 Dwfl_Error error = relocate_getsym (mod, relocated, reloc_symtab,
431 Elf_Data *d = gelf_xlatetom (relocated, &tmpdata, &rdata,
455 Elf_Data *d = gelf_xlatetom (relocated, &tmpdata, &rdata,
473 /* Now convert the relocated datum back to the target
475 points into the raw section data being relocated. */
476 Elf_Data *s = gelf_xlatetof (relocated, &rdata, &tmpdata,
502 relocate_section (Dwfl_Module *mod, Elf *relocated, const GElf_Ehdr *ehdr,
514 const char *tname = elf_strptr (relocated, shstrndx, tshdr->sh_name);
540 const char *sname = elf_strptr (relocated, shstrndx, shdr->sh_name);
572 if (relocated->map_address != NULL)
574 size_t ehsize = gelf_fsize (relocated, ELF_T_EHDR, 1, EV_CURRENT);
581 if (elf_getshdrnum (relocated, &shnums) < 0)
584 size_t shentsize = gelf_fsize (relocated, ELF_T_SHDR, 1, EV_CURRENT);
598 if (elf_getphdrnum (relocated, &phnums) < 0)
603 size_t phentsize = gelf_fsize (relocated, ELF_T_PHDR, 1, EV_CURRENT);
626 = gelf_fsize (relocated, shdr->sh_type == SHT_REL ? ELF_T_REL : ELF_T_RELA,
636 result = relocate (mod, relocated, reloc_symtab, tdata, ehdr,
667 result = relocate (mod, relocated, reloc_symtab, tdata, ehdr,
699 already been fully relocated. */
798 __libdwfl_relocate_section (Dwfl_Module *mod, Elf *relocated,
807 if (elf_getshdrstrndx (relocated, &shstrndx) < 0)
814 GElf_Ehdr *ehdr = gelf_getehdr (relocated, &ehdr_mem);
822 return relocate_section (mod, relocated, ehdr, shstrndx, &reloc_symtab,