Lines Matching refs:arch
14 struct mod_section *got_sec = &mod->arch.got; in module_emit_got_entry()
33 struct mod_section *got_plt_sec = &mod->arch.got_plt; in module_emit_plt_entry()
35 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry()
99 mod->arch.plt.shdr = sechdrs + i; in module_frob_arch_sections()
101 mod->arch.got.shdr = sechdrs + i; in module_frob_arch_sections()
103 mod->arch.got_plt.shdr = sechdrs + i; in module_frob_arch_sections()
106 if (!mod->arch.plt.shdr) { in module_frob_arch_sections()
110 if (!mod->arch.got.shdr) { in module_frob_arch_sections()
114 if (!mod->arch.got_plt.shdr) { in module_frob_arch_sections()
135 mod->arch.plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
136 mod->arch.plt.shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
137 mod->arch.plt.shdr->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
138 mod->arch.plt.shdr->sh_size = (num_plts + 1) * sizeof(struct plt_entry); in module_frob_arch_sections()
139 mod->arch.plt.num_entries = 0; in module_frob_arch_sections()
140 mod->arch.plt.max_entries = num_plts; in module_frob_arch_sections()
142 mod->arch.got.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
143 mod->arch.got.shdr->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
144 mod->arch.got.shdr->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
145 mod->arch.got.shdr->sh_size = (num_gots + 1) * sizeof(struct got_entry); in module_frob_arch_sections()
146 mod->arch.got.num_entries = 0; in module_frob_arch_sections()
147 mod->arch.got.max_entries = num_gots; in module_frob_arch_sections()
149 mod->arch.got_plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
150 mod->arch.got_plt.shdr->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
151 mod->arch.got_plt.shdr->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
152 mod->arch.got_plt.shdr->sh_size = (num_plts + 1) * sizeof(struct got_entry); in module_frob_arch_sections()
153 mod->arch.got_plt.num_entries = 0; in module_frob_arch_sections()
154 mod->arch.got_plt.max_entries = num_plts; in module_frob_arch_sections()