Searched refs:num_plts (Results 1 – 2 of 2) sorted by relevance
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()
107 unsigned int i, num_plts = 0, num_gots = 0; in module_frob_arch_sections() local150 count_max_entries(relas, num_rela, &num_plts, &num_gots); in module_frob_arch_sections()165 plt_sec->sh_size = (num_plts + 1) * sizeof(struct plt_entry); in module_frob_arch_sections()167 mod->arch.plt.max_entries = num_plts; in module_frob_arch_sections()173 plt_idx_sec->sh_size = (num_plts + 1) * sizeof(struct plt_idx_entry); in module_frob_arch_sections()175 mod->arch.plt_idx.max_entries = num_plts; in module_frob_arch_sections()