Lines Matching refs:plt_sec
41 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry() local
43 struct plt_entry *plt = get_plt_entry(val, sechdrs, plt_sec, plt_idx_sec); in module_emit_plt_entry()
49 nr = plt_sec->num_entries; in module_emit_plt_entry()
52 plt = (struct plt_entry *)sechdrs[plt_sec->shndx].sh_addr; in module_emit_plt_entry()
57 plt_sec->num_entries++; in module_emit_plt_entry()
59 BUG_ON(plt_sec->num_entries > plt_sec->max_entries); in module_emit_plt_entry()
108 Elf_Shdr *got_sec, *plt_sec, *plt_idx_sec, *tramp = NULL; in module_frob_arch_sections() local
161 plt_sec = sechdrs + mod->arch.plt.shndx; in module_frob_arch_sections()
162 plt_sec->sh_type = SHT_NOBITS; in module_frob_arch_sections()
163 plt_sec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
164 plt_sec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
165 plt_sec->sh_size = (num_plts + 1) * sizeof(struct plt_entry); in module_frob_arch_sections()