Home
last modified time | relevance | path

Searched refs:shdr0 (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/scripts/
Drecordmcount.h206 static unsigned int get_shnum(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0) in get_shnum() argument
208 if (shdr0 && !ehdr->e_shnum) in get_shnum()
209 return w(shdr0->sh_size); in get_shnum()
214 static void set_shnum(Elf_Ehdr *ehdr, Elf_Shdr *shdr0, unsigned int new_shnum) in set_shnum() argument
218 shdr0->sh_size = w(new_shnum); in set_shnum()
223 static int get_shstrndx(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0) in get_shstrndx() argument
228 return w(shdr0->sh_link); in get_shstrndx()
231 static void find_symtab(Elf_Ehdr *const ehdr, Elf_Shdr const *shdr0, in find_symtab() argument
241 for (relhdr = shdr0, k = nhdr; k; --k, ++relhdr) { in find_symtab()
270 Elf_Shdr *const shdr0 = (Elf_Shdr *)(old_shoff + (void *)ehdr); in append_func() local
[all …]