Lines Matching refs:plt

44 	struct plt_entries *plt = (struct plt_entries *)pltsec->plt->sh_addr;  in get_module_plt()  local
53 plt += (pltsec->plt_count - 1) / PLT_ENT_COUNT; in get_module_plt()
56 if (plt->lit[idx] == val) in get_module_plt()
57 return (u32)&plt->ldr[idx]; in get_module_plt()
61 plt++; in get_module_plt()
65 BUG_ON(pltsec->plt_count * PLT_ENT_SIZE > pltsec->plt->sh_size); in get_module_plt()
69 *plt = (struct plt_entries){ in get_module_plt()
74 plt->lit[idx] = val; in get_module_plt()
76 return (u32)&plt->ldr[idx]; in get_module_plt()
205 mod->arch.core.plt = s; in module_frob_arch_sections()
207 mod->arch.init.plt = s; in module_frob_arch_sections()
212 if (!mod->arch.core.plt || !mod->arch.init.plt) { in module_frob_arch_sections()
244 mod->arch.core.plt->sh_type = SHT_NOBITS; in module_frob_arch_sections()
245 mod->arch.core.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
246 mod->arch.core.plt->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
247 mod->arch.core.plt->sh_size = round_up(core_plts * PLT_ENT_SIZE, in module_frob_arch_sections()
251 mod->arch.init.plt->sh_type = SHT_NOBITS; in module_frob_arch_sections()
252 mod->arch.init.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
253 mod->arch.init.plt->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
254 mod->arch.init.plt->sh_size = round_up(init_plts * PLT_ENT_SIZE, in module_frob_arch_sections()
259 mod->arch.core.plt->sh_size, mod->arch.init.plt->sh_size); in module_frob_arch_sections()