Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/kernel/
H A Dmodule.c113 Elf32_Shdr *symsec = sechdrs + symindex; in apply_relocate() local
133 if (offset < 0 || offset > (symsec->sh_size / sizeof(Elf32_Sym))) { in apply_relocate()
139 sym = ((Elf32_Sym *)symsec->sh_addr) + offset; in apply_relocate()
/openbmc/linux/kernel/module/
H A Dkallsyms.c176 Elf_Shdr *symsec = &info->sechdrs[info->index.sym]; in add_kallsyms() local
187 rcu_dereference(mod->kallsyms)->symtab = (void *)symsec->sh_addr; in add_kallsyms()
188 rcu_dereference(mod->kallsyms)->num_symtab = symsec->sh_size / sizeof(Elf_Sym); in add_kallsyms()
H A Dmain.c1369 Elf_Shdr *symsec = &info->sechdrs[info->index.sym]; in simplify_symbols() local
1370 Elf_Sym *sym = (void *)symsec->sh_addr; in simplify_symbols()
1376 for (i = 1; i < symsec->sh_size / sizeof(Elf_Sym); i++) { in simplify_symbols()
/openbmc/linux/scripts/
H A Drecordmcount.h381 Elf_Shdr const *const symsec = &shdr0[symsec_sh_link]; in get_sym_str_and_relp() local
382 Elf_Shdr const *const strsec = &shdr0[w(symsec->sh_link)]; in get_sym_str_and_relp()
386 *sym0 = (Elf_Sym const *)(_w(symsec->sh_offset) in get_sym_str_and_relp()