Lines Matching refs:shdr
23 got = (struct got_entry *)got_sec->shdr->sh_addr; in module_emit_got_entry()
44 got_plt = (struct got_entry *)got_plt_sec->shdr->sh_addr; in module_emit_plt_entry()
46 plt = (struct plt_entry *)plt_sec->shdr->sh_addr; in module_emit_plt_entry()
102 mod->arch.plt.shdr = sechdrs + i; in module_frob_arch_sections()
104 mod->arch.got.shdr = sechdrs + i; in module_frob_arch_sections()
106 mod->arch.got_plt.shdr = sechdrs + i; in module_frob_arch_sections()
109 if (!mod->arch.plt.shdr) { in module_frob_arch_sections()
113 if (!mod->arch.got.shdr) { in module_frob_arch_sections()
117 if (!mod->arch.got_plt.shdr) { in module_frob_arch_sections()
138 mod->arch.plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
139 mod->arch.plt.shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
140 mod->arch.plt.shdr->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
141 mod->arch.plt.shdr->sh_size = (num_plts + 1) * sizeof(struct plt_entry); in module_frob_arch_sections()
145 mod->arch.got.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
146 mod->arch.got.shdr->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
147 mod->arch.got.shdr->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
148 mod->arch.got.shdr->sh_size = (num_gots + 1) * sizeof(struct got_entry); 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()