Lines Matching full:got
15 struct mod_section *got_sec = &mod->arch.got; in module_emit_got_entry()
17 struct got_entry *got = get_got_entry(val, sechdrs, got_sec); in module_emit_got_entry() local
19 if (got) in module_emit_got_entry()
20 return (Elf_Addr)got; in module_emit_got_entry()
22 /* There is no GOT entry for val yet, create a new one. */ in module_emit_got_entry()
23 got = (struct got_entry *)sechdrs[got_sec->shndx].sh_addr; in module_emit_got_entry()
24 got[i] = emit_got_entry(val); in module_emit_got_entry()
32 pr_err("%s: module contains bad GOT relocation\n", mod->name); in module_emit_got_entry()
36 return (Elf_Addr)&got[i]; in module_emit_got_entry()
115 if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections()
116 mod->arch.got.shndx = i; in module_frob_arch_sections()
125 if (!mod->arch.got.shndx) { in module_frob_arch_sections()
126 pr_err("%s: module GOT section(s) missing\n", mod->name); in module_frob_arch_sections()
154 got_sec = sechdrs + mod->arch.got.shndx; in module_frob_arch_sections()
159 mod->arch.got.num_entries = 0; in module_frob_arch_sections()
160 mod->arch.got.max_entries = num_gots; in module_frob_arch_sections()