Home
last modified time | relevance | path

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

/Linux-v4.19/arch/riscv/include/asm/
Dmodule.h27 struct got_entry { struct
31 static inline struct got_entry emit_got_entry(u64 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(u64 val, in get_got_entry()
39 struct got_entry *got = (struct got_entry *)sec->shdr->sh_addr; in get_got_entry()
90 struct got_entry *got_plt = (struct got_entry *)sec->shdr->sh_addr; in get_got_plt_idx()
/Linux-v4.19/arch/riscv/kernel/
Dmodule-sections.c16 struct got_entry *got = get_got_entry(val, got_sec); in module_emit_got_entry()
22 got = (struct got_entry *)got_sec->shdr->sh_addr; in module_emit_got_entry()
34 struct got_entry *got_plt; in module_emit_plt_entry()
43 got_plt = (struct got_entry *)got_plt_sec->shdr->sh_addr; in module_emit_plt_entry()
145 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_size = (num_plts + 1) * sizeof(struct got_entry); in module_frob_arch_sections()
/Linux-v4.19/arch/alpha/kernel/
Dmodule.c34 struct got_entry { struct
35 struct got_entry *next; argument
42 struct got_entry *chains, Elf64_Xword *poffset) in process_reloc_for_got() argument
47 struct got_entry *g; in process_reloc_for_got()
79 struct got_entry *chains; in module_frob_arch_sections()
108 chains = kcalloc(nsyms, sizeof(struct got_entry), GFP_KERNEL); in module_frob_arch_sections()
133 struct got_entry *g, *n; in module_frob_arch_sections()
/Linux-v4.19/arch/parisc/kernel/
Dmodule.c120 struct got_entry { struct
128 struct got_entry { struct
373 me->core_layout.size += gots * sizeof(struct got_entry); in module_frob_arch_sections()
389 struct got_entry *got; in get_got()
404 DEBUGP("GOT ENTRY %d[%x] val %lx\n", i, i*sizeof(struct got_entry), in get_got()
406 return i * sizeof(struct got_entry); in get_got()
/Linux-v4.19/arch/ia64/include/asm/
Delf.h223 struct got_entry { struct
/Linux-v4.19/arch/ia64/kernel/
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()