/kernel/linux/linux-5.10/scripts/ |
H A D | recordmcount.h | 192 Elf32_Word const *symtab_shndx) in get_symindex() 205 return w(symtab_shndx[index]); in get_symindex() 238 Elf32_Word **symtab_shndx) in find_symtab() 244 *symtab_shndx = NULL; in find_symtab() 250 *symtab_shndx = (void *)ehdr + relhdr->sh_offset; in find_symtab() 252 if (*symtab && *symtab_shndx) in find_symtab() 522 Elf32_Word const *symtab_shndx, in find_secsym_ndx() 534 if (txtndx == get_symindex(symp, symtab, symtab_shndx) in find_secsym_ndx() 620 Elf32_Word *symtab_shndx; in do_func() local 652 find_symtab(ehdr, shdr0, nhdr, &symtab, &symtab_shndx); in do_func() 191 get_symindex(Elf_Sym const *sym, Elf32_Word const *symtab, Elf32_Word const *symtab_shndx) get_symindex() argument 236 find_symtab(Elf_Ehdr *const ehdr, Elf_Shdr const *shdr0, unsigned const nhdr, Elf32_Word **symtab, Elf32_Word **symtab_shndx) find_symtab() argument 516 find_secsym_ndx(unsigned const txtndx, char const *const txtname, uint_t *const recvalp, unsigned int *sym_index, Elf_Shdr const *const symhdr, Elf32_Word const *symtab, Elf32_Word const *symtab_shndx, Elf_Ehdr const *const ehdr) find_secsym_ndx() argument [all...] |
H A D | sorttable.h | 206 Elf32_Word *symtab_shndx = NULL; in do_sort() local 253 symtab_shndx = (Elf32_Word *)((const char *)ehdr + in do_sort() 351 symtab_shndx)]; in do_sort()
|
/kernel/linux/linux-6.6/scripts/ |
H A D | recordmcount.h | 192 Elf32_Word const *symtab_shndx) in get_symindex() 205 return w(symtab_shndx[index]); in get_symindex() 238 Elf32_Word **symtab_shndx) in find_symtab() 244 *symtab_shndx = NULL; in find_symtab() 250 *symtab_shndx = (void *)ehdr + relhdr->sh_offset; in find_symtab() 252 if (*symtab && *symtab_shndx) in find_symtab() 522 Elf32_Word const *symtab_shndx, in find_secsym_ndx() 534 if (txtndx == get_symindex(symp, symtab, symtab_shndx) in find_secsym_ndx() 620 Elf32_Word *symtab_shndx; in do_func() local 652 find_symtab(ehdr, shdr0, nhdr, &symtab, &symtab_shndx); in do_func() 191 get_symindex(Elf_Sym const *sym, Elf32_Word const *symtab, Elf32_Word const *symtab_shndx) get_symindex() argument 236 find_symtab(Elf_Ehdr *const ehdr, Elf_Shdr const *shdr0, unsigned const nhdr, Elf32_Word **symtab, Elf32_Word **symtab_shndx) find_symtab() argument 516 find_secsym_ndx(unsigned const txtndx, char const *const txtname, uint_t *const recvalp, unsigned int *sym_index, Elf_Shdr const *const symhdr, Elf32_Word const *symtab, Elf32_Word const *symtab_shndx, Elf_Ehdr const *const ehdr) find_secsym_ndx() argument [all...] |
H A D | sorttable.h | 272 Elf32_Word *symtab_shndx = NULL; in do_sort() local 324 symtab_shndx = (Elf32_Word *)((const char *)ehdr + in do_sort() 450 symtab_shndx)]; in do_sort()
|
/kernel/linux/linux-6.6/tools/objtool/ |
H A D | elf.c | 437 struct section *symtab, *symtab_shndx, *sec; in read_symbols() local 446 symtab_shndx = find_section_by_name(elf, ".symtab_shndx"); in read_symbols() 447 if (symtab_shndx) in read_symbols() 448 shndx_data = symtab_shndx->data; in read_symbols() 598 struct section *symtab_shndx, struct symbol *sym) in elf_update_symbol() 617 if (symtab_shndx) { in elf_update_symbol() 618 t = elf_getscn(elf->elf, symtab_shndx->idx); in elf_update_symbol() 678 mark_sec_changed(elf, symtab_shndx, true); in elf_update_symbol() 679 symtab_shndx in elf_update_symbol() 597 elf_update_symbol(struct elf *elf, struct section *symtab, struct section *symtab_shndx, struct symbol *sym) elf_update_symbol() argument 730 struct section *symtab, *symtab_shndx; __elf_create_symbol() local [all...] |
/kernel/linux/linux-5.10/tools/objtool/ |
H A D | elf.c | 377 struct section *symtab, *symtab_shndx, *sec; in read_symbols() local 393 symtab_shndx = find_section_by_name(elf, ".symtab_shndx"); in read_symbols() 394 if (symtab_shndx) in read_symbols() 395 shndx_data = symtab_shndx->data; in read_symbols() 574 struct section *symtab_shndx, struct symbol *sym) in elf_update_symbol() 593 if (symtab_shndx) { in elf_update_symbol() 594 t = elf_getscn(elf->elf, symtab_shndx->idx); in elf_update_symbol() 642 symtab_shndx->sh.sh_size += sizeof(Elf32_Word); in elf_update_symbol() 643 symtab_shndx in elf_update_symbol() 573 elf_update_symbol(struct elf *elf, struct section *symtab, struct section *symtab_shndx, struct symbol *sym) elf_update_symbol() argument 694 struct section *symtab, *symtab_shndx; elf_create_section_symbol() local [all...] |