Home
last modified time | relevance | path

Searched refs:got_entry (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/arch/riscv/include/asm/
A Dmodule.h27 struct got_entry { struct
31 static inline struct got_entry emit_got_entry(unsigned long val) in emit_got_entry() argument
33 return (struct got_entry) {val}; in emit_got_entry()
36 static inline struct got_entry *get_got_entry(unsigned long val, in get_got_entry()
39 struct got_entry *got = (struct got_entry *)(sec->shdr->sh_addr); in get_got_entry()
92 struct got_entry *got_plt = (struct got_entry *)sec->shdr->sh_addr; in get_got_plt_idx()
/linux-6.3-rc2/arch/loongarch/include/asm/
A Dmodule.h28 struct got_entry { struct
46 static inline struct got_entry emit_got_entry(Elf_Addr val) in emit_got_entry() argument
48 return (struct got_entry) { val }; in emit_got_entry()
95 static inline struct got_entry *get_got_entry(Elf_Addr val, in get_got_entry()
100 struct got_entry *got = (struct got_entry *)sechdrs[sec->shndx].sh_addr; in get_got_entry()
/linux-6.3-rc2/arch/riscv/kernel/
A Dmodule-sections.c17 struct got_entry *got = get_got_entry(val, got_sec); in module_emit_got_entry()
23 got = (struct got_entry *)got_sec->shdr->sh_addr; in module_emit_got_entry()
35 struct got_entry *got_plt; in module_emit_plt_entry()
44 got_plt = (struct got_entry *)got_plt_sec->shdr->sh_addr; in module_emit_plt_entry()
148 mod->arch.got.shdr->sh_size = (num_gots + 1) * sizeof(struct got_entry); 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()
/linux-6.3-rc2/arch/alpha/kernel/
A Dmodule.c22 struct got_entry { struct
23 struct got_entry *next; argument
30 struct got_entry *chains, Elf64_Xword *poffset) in process_reloc_for_got() argument
35 struct got_entry *g; in process_reloc_for_got()
67 struct got_entry *chains; in module_frob_arch_sections()
96 chains = kcalloc(nsyms, sizeof(struct got_entry), GFP_KERNEL); in module_frob_arch_sections()
121 struct got_entry *g, *n; in module_frob_arch_sections()
/linux-6.3-rc2/arch/loongarch/kernel/
A Dmodule-sections.c15 struct got_entry *got = get_got_entry(val, sechdrs, got_sec); in module_emit_got_entry()
21 got = (struct got_entry *)sechdrs[got_sec->shndx].sh_addr; in module_emit_got_entry()
156 got_sec->sh_size = (num_gots + 1) * sizeof(struct got_entry); in module_frob_arch_sections()
/linux-6.3-rc2/arch/parisc/kernel/
A Dmodule.c99 struct got_entry { struct
107 struct got_entry { argument
352 me->core_layout.size += gots * sizeof(struct got_entry); in module_frob_arch_sections()
368 struct got_entry *got; in get_got()
383 pr_debug("GOT ENTRY %d[%lx] val %lx\n", i, i*sizeof(struct got_entry), in get_got()
385 return i * sizeof(struct got_entry); in get_got()
/linux-6.3-rc2/arch/ia64/include/asm/
A Delf.h221 struct got_entry { struct
/linux-6.3-rc2/arch/ia64/kernel/
A Dmodule.c477 mod->arch.got->sh_size = gots * sizeof(struct got_entry); in module_frob_arch_sections()
512 struct got_entry *got, *e; in get_ltoff()
523 BUG_ON(e >= (struct got_entry *) (mod->arch.got->sh_addr + mod->arch.got->sh_size)); in get_ltoff()

Completed in 12 milliseconds