Home
last modified time | relevance | path

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

/Linux-v6.1/arch/loongarch/kernel/
Dmodule-sections.c39 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry() local
41 struct plt_entry *plt = get_plt_entry(val, plt_sec, plt_idx_sec); in module_emit_plt_entry()
47 nr = plt_sec->num_entries; in module_emit_plt_entry()
50 plt = (struct plt_entry *)plt_sec->shdr->sh_addr; in module_emit_plt_entry()
55 plt_sec->num_entries++; in module_emit_plt_entry()
57 BUG_ON(plt_sec->num_entries > plt_sec->max_entries); in module_emit_plt_entry()
/Linux-v6.1/arch/riscv/kernel/
Dmodule-sections.c36 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry() local
37 struct plt_entry *plt = get_plt_entry(val, plt_sec, got_plt_sec); in module_emit_plt_entry()
38 int i = plt_sec->num_entries; in module_emit_plt_entry()
46 plt = (struct plt_entry *)plt_sec->shdr->sh_addr; in module_emit_plt_entry()
51 plt_sec->num_entries++; in module_emit_plt_entry()
53 BUG_ON(plt_sec->num_entries > plt_sec->max_entries); in module_emit_plt_entry()