Lines Matching refs:plt
32 struct plt_entry *plt = (struct plt_entry *)mod->arch.plt->sh_addr; in module_emit_plt_entry() local
50 BUG_ON(sym->st_size < (u64)plt || sym->st_size >= (u64)&plt[i]); in module_emit_plt_entry()
68 plt[i] = (struct plt_entry){ in module_emit_plt_entry()
76 sym->st_size = (u64)&plt[i]; in module_emit_plt_entry()
78 return (u64)&plt[i]; in module_emit_plt_entry()
162 mod->arch.plt = sechdrs + i; in module_frob_arch_sections()
167 if (!mod->arch.plt) { in module_frob_arch_sections()
194 mod->arch.plt->sh_type = SHT_NOBITS; in module_frob_arch_sections()
195 mod->arch.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
196 mod->arch.plt->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
197 mod->arch.plt->sh_size = plt_max_entries * sizeof(struct plt_entry); in module_frob_arch_sections()