Lines Matching refs:Elf_Shdr
36 #undef Elf_Shdr
70 # define Elf_Shdr Elf64_Shdr macro
103 # define Elf_Shdr Elf32_Shdr macro
178 Elf_Shdr *const shstr, in append_func()
187 Elf_Shdr mcsec; in append_func()
215 t += sizeof(Elf_Shdr) * old_shnum; in append_func()
217 sizeof(Elf_Shdr) * old_shnum) < 0) in append_func()
288 static void get_sym_str_and_relp(Elf_Shdr const *const relhdr, in get_sym_str_and_relp()
294 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in get_sym_str_and_relp()
297 Elf_Shdr const *const symsec = &shdr0[symsec_sh_link]; in get_sym_str_and_relp()
298 Elf_Shdr const *const strsec = &shdr0[w(symsec->sh_link)]; in get_sym_str_and_relp()
319 Elf_Shdr const *const relhdr, in sift_rel_mcount()
367 static int nop_mcount(Elf_Shdr const *const relhdr, in nop_mcount()
371 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in nop_mcount()
376 Elf_Shdr const *const shdr = &shdr0[w(relhdr->sh_info)]; in nop_mcount()
436 Elf_Shdr const *const symhdr, in find_secsym_ndx()
467 static char const * __has_rel_mcount(Elf_Shdr const *const relhdr, /* reltype */ in __has_rel_mcount()
468 Elf_Shdr const *const shdr0, in __has_rel_mcount()
473 Elf_Shdr const *const txthdr = &shdr0[w(relhdr->sh_info)]; in __has_rel_mcount()
487 static char const *has_rel_mcount(Elf_Shdr const *const relhdr, in has_rel_mcount()
488 Elf_Shdr const *const shdr0, in has_rel_mcount()
498 static unsigned tot_relsize(Elf_Shdr const *const shdr0, in tot_relsize()
504 Elf_Shdr const *shdrp = shdr0; in tot_relsize()
524 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in do_func()
527 Elf_Shdr *const shstr = &shdr0[w2(ehdr->e_shstrndx)]; in do_func()
531 Elf_Shdr const *relhdr; in do_func()