Searched refs:symndx (Results 1 – 5 of 5) sorted by relevance
/linux/tools/objtool/ |
A D | elf.c | 554 static int read_rel_reloc(struct section *sec, int i, struct reloc *reloc, unsigned int *symndx) in read_rel_reloc() argument 563 *symndx = GELF_R_SYM(reloc->rel.r_info); in read_rel_reloc() 567 static int read_rela_reloc(struct section *sec, int i, struct reloc *reloc, unsigned int *symndx) in read_rela_reloc() argument 576 *symndx = GELF_R_SYM(reloc->rela.r_info); in read_rela_reloc() 585 unsigned int symndx; in read_relocs() local 615 if (read_rel_reloc(sec, i, reloc, &symndx)) in read_relocs() 619 if (read_rela_reloc(sec, i, reloc, &symndx)) in read_relocs() 627 reloc->sym = find_symbol_by_index(elf, symndx); in read_relocs() 630 symndx, sec->name); in read_relocs()
|
/linux/kernel/livepatch/ |
A D | core.c | 194 unsigned int symndx, Elf_Shdr *relasec, in klp_resolve_symbols() argument 221 sym = (Elf64_Sym *)sechdrs[symndx].sh_addr + ELF_R_SYM(relas[i].r_info); in klp_resolve_symbols() 289 unsigned int symndx, unsigned int secndx, in klp_apply_section_relocs() argument 312 ret = klp_resolve_symbols(sechdrs, strtab, symndx, sec, sec_objname); in klp_apply_section_relocs() 316 return apply_relocate_add(sechdrs, strtab, symndx, secndx, pmod); in klp_apply_section_relocs() 762 info->symndx, i, obj->name); in klp_apply_object_relocs()
|
/linux/include/linux/ |
A D | module.h | 360 unsigned int symndx; member
|
/linux/kernel/ |
A D | module.c | 2070 unsigned int size, symndx; in copy_module_elf() local 2099 symndx = info->index.sym; in copy_module_elf() 2100 mod->klp_info->symndx = symndx; in copy_module_elf() 2108 mod->klp_info->sechdrs[symndx].sh_addr = \ in copy_module_elf()
|
/linux/Documentation/livepatch/ |
A D | module-elf-format.rst | 308 unsigned int symndx; /* The symbol table section index */
|
Completed in 22 milliseconds