Lines Matching refs:plt_entry_size
434 u64 *plt_header_size, u64 *plt_entry_size) in get_plt_sizes() argument
439 *plt_entry_size = 12; in get_plt_sizes()
443 *plt_entry_size = 16; in get_plt_sizes()
447 *plt_entry_size = 16; in get_plt_sizes()
451 *plt_entry_size = 12; in get_plt_sizes()
455 *plt_entry_size = 32; in get_plt_sizes()
459 *plt_entry_size = shdr_plt->sh_entsize; in get_plt_sizes()
461 if (*plt_entry_size != 8 && *plt_entry_size != 16) in get_plt_sizes()
462 *plt_entry_size = shdr_plt->sh_addralign == 8 ? 8 : 16; in get_plt_sizes()
463 *plt_header_size = *plt_entry_size; in get_plt_sizes()
467 *plt_entry_size = shdr_plt->sh_entsize; in get_plt_sizes()
470 if (*plt_entry_size) in get_plt_sizes()
675 u64 plt_offset, plt_header_size, plt_entry_size; in dso__synthesize_plt_symbols() local
703 if (!get_plt_sizes(dso, &ehdr, &shdr_plt, &plt_header_size, &plt_entry_size)) in dso__synthesize_plt_symbols()
720 if (!get_plt_sizes(dso, &ehdr, &plt_sec_shdr, &plt_header_size, &plt_entry_size)) in dso__synthesize_plt_symbols()
797 if (ri.nr_entries * plt_entry_size == shdr_plt.sh_size) in dso__synthesize_plt_symbols()
827 f = symbol__new(plt_offset, plt_entry_size, STB_GLOBAL, STT_FUNC, sympltname); in dso__synthesize_plt_symbols()
831 plt_offset += plt_entry_size; in dso__synthesize_plt_symbols()