Searched refs:num_plts (Results 1 – 2 of 2) sorted by relevance
105 unsigned int i, num_plts = 0, num_gots = 0; in module_frob_arch_sections() local145 count_max_entries(relas, num_rela, &num_plts, &num_gots); in module_frob_arch_sections()158 mod->arch.plt.shdr->sh_size = (num_plts + 1) * sizeof(struct plt_entry); in module_frob_arch_sections()160 mod->arch.plt.max_entries = num_plts; in module_frob_arch_sections()165 mod->arch.plt_idx.shdr->sh_size = (num_plts + 1) * sizeof(struct plt_idx_entry); in module_frob_arch_sections()167 mod->arch.plt_idx.max_entries = num_plts; in module_frob_arch_sections()
93 unsigned int num_plts = 0; in module_frob_arch_sections() local135 count_max_entries(relas, num_rela, &num_plts, &num_gots); in module_frob_arch_sections()141 mod->arch.plt.shdr->sh_size = (num_plts + 1) * sizeof(struct plt_entry); in module_frob_arch_sections()143 mod->arch.plt.max_entries = num_plts; 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()157 mod->arch.got_plt.max_entries = num_plts; in module_frob_arch_sections()