Searched refs:shdr_plt (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | symbol-elf.c | 433 static bool get_plt_sizes(struct dso *dso, GElf_Ehdr *ehdr, GElf_Shdr *shdr_plt, in get_plt_sizes() argument 459 *plt_entry_size = shdr_plt->sh_entsize; in get_plt_sizes() 462 *plt_entry_size = shdr_plt->sh_addralign == 8 ? 8 : 16; in get_plt_sizes() 466 *plt_header_size = shdr_plt->sh_entsize; in get_plt_sizes() 467 *plt_entry_size = shdr_plt->sh_entsize; in get_plt_sizes() 676 GElf_Shdr shdr_plt, plt_sec_shdr; in dso__synthesize_plt_symbols() local 691 if (!elf_section_by_name(elf, &ehdr, &shdr_plt, ".plt", NULL)) in dso__synthesize_plt_symbols() 699 f = dso__find_symbol_nocache(dso, shdr_plt.sh_offset); in dso__synthesize_plt_symbols() 700 if (f && f->start < shdr_plt.sh_offset && f->end > shdr_plt in dso__synthesize_plt_symbols() [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | symbol-elf.c | 315 GElf_Shdr shdr_plt; in dso__synthesize_plt_symbols() local 353 if (elf_section_by_name(elf, &ehdr, &shdr_plt, ".plt", NULL) == NULL) in dso__synthesize_plt_symbols() 380 plt_offset = shdr_plt.sh_offset; in dso__synthesize_plt_symbols() 403 plt_header_size = shdr_plt.sh_entsize; in dso__synthesize_plt_symbols() 404 plt_entry_size = shdr_plt.sh_entsize; in dso__synthesize_plt_symbols()
|
Completed in 6 milliseconds