Home
last modified time | relevance | path

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

/linux-6.12.1/arch/riscv/kernel/
Dmodule-sections.c34 struct mod_section *got_plt_sec = &mod->arch.got_plt; in module_emit_plt_entry()
35 struct got_entry *got_plt; in module_emit_plt_entry() local
44 got_plt = (struct got_entry *)got_plt_sec->shdr->sh_addr; in module_emit_plt_entry()
45 got_plt[i] = emit_got_entry(val); in module_emit_plt_entry()
49 (unsigned long)&got_plt[i]); in module_emit_plt_entry()
106 mod->arch.got_plt.shdr = sechdrs + i; in module_frob_arch_sections()
117 if (!mod->arch.got_plt.shdr) { in module_frob_arch_sections()
152 mod->arch.got_plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
153 mod->arch.got_plt.shdr->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
154 mod->arch.got_plt.shdr->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
[all …]
/linux-6.12.1/arch/riscv/include/asm/
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()