relhdr 288 scripts/recordmcount.h static void get_sym_str_and_relp(Elf_Shdr const *const relhdr, relhdr 296 scripts/recordmcount.h unsigned const symsec_sh_link = w(relhdr->sh_link); relhdr 299 scripts/recordmcount.h Elf_Rel const *const rel0 = (Elf_Rel const *)(_w(relhdr->sh_offset) relhdr 319 scripts/recordmcount.h Elf_Shdr const *const relhdr, relhdr 330 scripts/recordmcount.h unsigned rel_entsize = _w(relhdr->sh_entsize); relhdr 331 scripts/recordmcount.h unsigned const nrel = _w(relhdr->sh_size) / rel_entsize; relhdr 335 scripts/recordmcount.h get_sym_str_and_relp(relhdr, ehdr, &sym0, &str0, &relp); relhdr 367 scripts/recordmcount.h static int nop_mcount(Elf_Shdr const *const relhdr, relhdr 376 scripts/recordmcount.h Elf_Shdr const *const shdr = &shdr0[w(relhdr->sh_info)]; relhdr 377 scripts/recordmcount.h unsigned rel_entsize = _w(relhdr->sh_entsize); relhdr 378 scripts/recordmcount.h unsigned const nrel = _w(relhdr->sh_size) / rel_entsize; relhdr 383 scripts/recordmcount.h get_sym_str_and_relp(relhdr, ehdr, &sym0, &str0, &relp); relhdr 467 scripts/recordmcount.h static char const * __has_rel_mcount(Elf_Shdr const *const relhdr, /* reltype */ relhdr 473 scripts/recordmcount.h Elf_Shdr const *const txthdr = &shdr0[w(relhdr->sh_info)]; relhdr 487 scripts/recordmcount.h static char const *has_rel_mcount(Elf_Shdr const *const relhdr, relhdr 492 scripts/recordmcount.h if (w(relhdr->sh_type) != SHT_REL && w(relhdr->sh_type) != SHT_RELA) relhdr 494 scripts/recordmcount.h return __has_rel_mcount(relhdr, shdr0, shstrtab, fname); relhdr 531 scripts/recordmcount.h Elf_Shdr const *relhdr; relhdr 564 scripts/recordmcount.h for (relhdr = shdr0, k = nhdr; k; --k, ++relhdr) { relhdr 565 scripts/recordmcount.h char const *const txtname = has_rel_mcount(relhdr, shdr0, relhdr 576 scripts/recordmcount.h symsec_sh_link = w(relhdr->sh_link); relhdr 577 scripts/recordmcount.h result = find_secsym_ndx(w(relhdr->sh_info), txtname, relhdr 584 scripts/recordmcount.h rel_entsize = _w(relhdr->sh_entsize); relhdr 587 scripts/recordmcount.h relhdr, ehdr, recsym, recval, reltype); relhdr 593 scripts/recordmcount.h if (nop_mcount(relhdr, ehdr, txtname) < 0) {