Lines Matching refs:relp
351 Elf_Rel const *relp, in get_mcountsym() argument
357 &sym0[Elf_r_sym(relp)]; in get_mcountsym()
367 mcountsym = Elf_r_sym(relp); in get_mcountsym()
376 Elf_Rel const **relp) in get_sym_str_and_relp() argument
392 *relp = rel0; in get_sym_str_and_relp()
413 Elf_Rel const *relp; in sift_rel_mcount() local
419 get_sym_str_and_relp(relhdr, ehdr, &sym0, &str0, &relp); in sift_rel_mcount()
423 mcountsym = get_mcountsym(sym0, relp, str0); in sift_rel_mcount()
425 if (mcountsym && mcountsym == Elf_r_sym(relp) && in sift_rel_mcount()
426 !is_fake_mcount(relp)) { in sift_rel_mcount()
428 _w(_w(relp->r_offset) - recval + mcount_adjust); in sift_rel_mcount()
440 relp = (Elf_Rel const *)(rel_entsize + (void *)relp); in sift_rel_mcount()
459 Elf_Rel const *relp; in nop_mcount() local
467 get_sym_str_and_relp(relhdr, ehdr, &sym0, &str0, &relp); in nop_mcount()
473 mcountsym = get_mcountsym(sym0, relp, str0); in nop_mcount()
475 if (mcountsym == Elf_r_sym(relp) && !is_fake_mcount(relp)) { in nop_mcount()
477 ret = make_nop((void *)ehdr, _w(shdr->sh_offset) + _w(relp->r_offset)); in nop_mcount()
494 rel = *(Elf_Rel *)relp; in nop_mcount()
495 Elf_r_info(&rel, Elf_r_sym(relp), rel_type_nop); in nop_mcount()
496 if (ulseek((void *)relp - (void *)ehdr, SEEK_SET) < 0) in nop_mcount()
501 relp = (Elf_Rel const *)(rel_entsize + (void *)relp); in nop_mcount()