Lines Matching full:got
14 struct mod_section *got_sec = &mod->arch.got; in module_emit_got_entry()
16 struct got_entry *got = get_got_entry(val, sechdrs, got_sec); in module_emit_got_entry() local
18 if (got) in module_emit_got_entry()
19 return (Elf_Addr)got; in module_emit_got_entry()
21 /* There is no GOT entry for val yet, create a new one. */ in module_emit_got_entry()
22 got = (struct got_entry *)sechdrs[got_sec->shndx].sh_addr; in module_emit_got_entry()
23 got[i] = emit_got_entry(val); in module_emit_got_entry()
31 pr_err("%s: module contains bad GOT relocation\n", mod->name); in module_emit_got_entry()
35 return (Elf_Addr)&got[i]; in module_emit_got_entry()
114 if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections()
115 mod->arch.got.shndx = i; in module_frob_arch_sections()
124 if (!mod->arch.got.shndx) { in module_frob_arch_sections()
125 pr_err("%s: module GOT section(s) missing\n", mod->name); in module_frob_arch_sections()
153 got_sec = sechdrs + mod->arch.got.shndx; in module_frob_arch_sections()
158 mod->arch.got.num_entries = 0; in module_frob_arch_sections()
159 mod->arch.got.max_entries = num_gots; in module_frob_arch_sections()