Searched refs:symndx (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/tools/objtool/ |
D | elf.c | 784 static int read_rel_reloc(struct section *sec, int i, struct reloc *reloc, unsigned int *symndx) in read_rel_reloc() argument 793 *symndx = GELF_R_SYM(reloc->rel.r_info); in read_rel_reloc() 797 static int read_rela_reloc(struct section *sec, int i, struct reloc *reloc, unsigned int *symndx) in read_rela_reloc() argument 806 *symndx = GELF_R_SYM(reloc->rela.r_info); in read_rela_reloc() 815 unsigned int symndx; in read_relocs() local 842 if (read_rel_reloc(sec, i, reloc, &symndx)) in read_relocs() 846 if (read_rela_reloc(sec, i, reloc, &symndx)) in read_relocs() 854 reloc->sym = find_symbol_by_index(elf, symndx); in read_relocs() 857 symndx, sec->name); in read_relocs()
|
/kernel/linux/linux-5.10/kernel/livepatch/ |
D | core.c | 195 unsigned int symndx, Elf_Shdr *relasec, in klp_resolve_symbols() argument 222 sym = (Elf_Sym *)sechdrs[symndx].sh_addr + ELF_R_SYM(relas[i].r_info); in klp_resolve_symbols() 290 unsigned int symndx, unsigned int secndx, in klp_apply_section_relocs() argument 313 ret = klp_resolve_symbols(sechdrs, strtab, symndx, sec, sec_objname); in klp_apply_section_relocs() 317 return apply_relocate_add(sechdrs, strtab, symndx, secndx, pmod); in klp_apply_section_relocs() 763 info->symndx, i, obj->name); in klp_apply_object_relocs()
|
/kernel/linux/linux-5.10/include/linux/ |
D | module.h | 362 unsigned int symndx; member
|
/kernel/linux/linux-5.10/kernel/ |
D | module.c | 2131 unsigned int size, symndx; in copy_module_elf() local 2160 symndx = info->index.sym; in copy_module_elf() 2161 mod->klp_info->symndx = symndx; in copy_module_elf() 2169 mod->klp_info->sechdrs[symndx].sh_addr = \ in copy_module_elf()
|
/kernel/linux/linux-5.10/Documentation/livepatch/ |
D | module-elf-format.rst | 314 unsigned int symndx; /* The symbol table section index */
|