Home
last modified time | relevance | path

Searched refs:got_plt (Results 1 – 2 of 2) sorted by relevance

/linux/arch/riscv/kernel/
H A Dmodule-sections.c35 struct mod_section *got_plt_sec = &mod->arch.got_plt; in module_emit_plt_entry()
36 struct got_entry *got_plt; in module_emit_plt_entry() local
45 got_plt = (struct got_entry *)got_plt_sec->shdr->sh_addr; in module_emit_plt_entry()
46 got_plt[i] = emit_got_entry(val); in module_emit_plt_entry()
50 (unsigned long)&got_plt[i]); in module_emit_plt_entry()
135 mod->arch.got_plt.shdr = sechdrs + i; in module_frob_arch_sections()
146 if (!mod->arch.got_plt.shdr) { in module_frob_arch_sections()
206 mod->arch.got_plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
207 mod->arch.got_plt.shdr->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
208 mod->arch.got_plt.shdr->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
[all …]
/linux/arch/riscv/include/asm/
H A Dmodule.h24 struct mod_section got_plt; member
66 unsigned long got_plt) in emit_plt_entry() argument
80 unsigned long offset = got_plt - plt; in emit_plt_entry()
92 struct got_entry *got_plt = (struct got_entry *)sec->shdr->sh_addr; in get_got_plt_idx() local
95 if (got_plt[i].symbol_addr == val) in get_got_plt_idx()