Lines Matching defs:rel
466 rel_to_rela(struct ltelf *lte, const GElf_Rel *rel, GElf_Rela *rela)
468 rela->r_offset = rel->r_offset;
469 rela->r_info = rel->r_info;
473 if (elf_get_section_covering(lte, rel->r_offset, &sec, &shdr) < 0
481 GElf_Xword offset = rel->r_offset - shdr.sh_addr - data->d_off;
505 fprintf(stderr, "Couldn't load .rel*.plt data.\n");
510 fprintf(stderr, ".rel*.plt size (%" PRIx64 "d) not a multiple "
521 GElf_Rel rel;
522 if (gelf_getrel(relplt, i, &rel) == NULL
523 || rel_to_rela(lte, &rel, &rela) < 0)
687 fprintf(stderr, "Couldn't get .rel*.plt"
698 "Couldn't find .rel*.plt section in \"%s\"\n",