Lines Matching refs:rela
71 const char *a_name, GElf_Rela *rela, size_t ndx, in os_elf_add_plt_entry() argument
81 const char *a_name, GElf_Rela *rela, size_t ndx, in arch_elf_add_plt_entry() argument
466 rel_to_rela(struct ltelf *lte, const GElf_Rel *rel, GElf_Rela *rela) in rel_to_rela() argument
468 rela->r_offset = rel->r_offset; in rel_to_rela()
469 rela->r_info = rel->r_info; in rel_to_rela()
492 rela->r_addend = value; in rel_to_rela()
519 GElf_Rela rela; in elf_read_relocs() local
523 || rel_to_rela(lte, &rel, &rela) < 0) in elf_read_relocs()
526 } else if (gelf_getrela(relplt, i, &rela) == NULL) { in elf_read_relocs()
530 if (VECT_PUSHBACK(rela_vec, &rela) < 0) in elf_read_relocs()
715 size_t sym_index, GElf_Rela *rela, GElf_Sym *sym) in arch_get_sym_info() argument
718 ELF64_R_SYM(rela->r_info), sym) != NULL ? 0 : -1; in arch_get_sym_info()
724 const char *a_name, GElf_Rela *rela, size_t ndx, in default_elf_add_plt_entry() argument
737 GElf_Addr addr = arch_plt_sym_val(lte, ndx, rela); in default_elf_add_plt_entry()
760 const char *name, GElf_Rela *rela, size_t idx, in elf_add_plt_entry() argument
764 = arch_elf_add_plt_entry(proc, lte, name, rela, idx, ret); in elf_add_plt_entry()
767 plts = os_elf_add_plt_entry(proc, lte, name, rela, idx, ret); in elf_add_plt_entry()
772 rela, idx, ret); in elf_add_plt_entry()
819 GElf_Rela *rela = VECT_ELEMENT(<e->plt_relocs, GElf_Rela, i); in populate_plt() local
822 switch (arch_get_sym_info(lte, filename, i, rela, &sym)) { in populate_plt()
840 if (elf_add_plt_entry(proc, lte, name, rela, i, &libsym) < 0) in populate_plt()