Lines Matching refs:got_plt
34 struct mod_section *got_plt_sec = &mod->arch.got_plt; in module_emit_plt_entry()
35 struct got_entry *got_plt; in module_emit_plt_entry() local
44 got_plt = (struct got_entry *)got_plt_sec->shdr->sh_addr; in module_emit_plt_entry()
45 got_plt[i] = emit_got_entry(val); in module_emit_plt_entry()
49 (unsigned long)&got_plt[i]); in module_emit_plt_entry()
106 mod->arch.got_plt.shdr = sechdrs + i; in module_frob_arch_sections()
117 if (!mod->arch.got_plt.shdr) { in module_frob_arch_sections()
152 mod->arch.got_plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
153 mod->arch.got_plt.shdr->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
154 mod->arch.got_plt.shdr->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
155 mod->arch.got_plt.shdr->sh_size = (num_plts + 1) * sizeof(struct got_entry); in module_frob_arch_sections()
156 mod->arch.got_plt.num_entries = 0; in module_frob_arch_sections()
157 mod->arch.got_plt.max_entries = num_plts; in module_frob_arch_sections()