Lines Matching refs:got_sec
15 struct mod_section *got_sec = &mod->arch.got; in module_emit_got_entry() local
16 int i = got_sec->num_entries; in module_emit_got_entry()
17 struct got_entry *got = get_got_entry(val, sechdrs, got_sec); in module_emit_got_entry()
23 got = (struct got_entry *)sechdrs[got_sec->shndx].sh_addr; in module_emit_got_entry()
26 got_sec->num_entries++; in module_emit_got_entry()
27 if (got_sec->num_entries > got_sec->max_entries) { in module_emit_got_entry()
108 Elf_Shdr *got_sec, *plt_sec, *plt_idx_sec, *tramp = NULL; in module_frob_arch_sections() local
153 got_sec = sechdrs + mod->arch.got.shndx; in module_frob_arch_sections()
154 got_sec->sh_type = SHT_NOBITS; in module_frob_arch_sections()
155 got_sec->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
156 got_sec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
157 got_sec->sh_size = (num_gots + 1) * sizeof(struct got_entry); in module_frob_arch_sections()