Home
last modified time | relevance | path

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

/arch/loongarch/kernel/
A Dmodule-sections.c42 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry() local
50 nr = plt_sec->num_entries; in module_emit_plt_entry()
53 plt = (struct plt_entry *)sechdrs[plt_sec->shndx].sh_addr; in module_emit_plt_entry()
58 plt_sec->num_entries++; in module_emit_plt_entry()
60 BUG_ON(plt_sec->num_entries > plt_sec->max_entries); in module_emit_plt_entry()
108 Elf_Shdr *got_sec, *plt_sec, *plt_idx_sec, *tramp = NULL; in module_frob_arch_sections() local
161 plt_sec = sechdrs + mod->arch.plt.shndx; in module_frob_arch_sections()
162 plt_sec->sh_type = SHT_NOBITS; in module_frob_arch_sections()
163 plt_sec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
164 plt_sec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
[all …]
/arch/riscv/kernel/
A Dmodule-sections.c37 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry() local
38 struct plt_entry *plt = get_plt_entry(val, plt_sec, got_plt_sec); in module_emit_plt_entry()
39 int i = plt_sec->num_entries; in module_emit_plt_entry()
47 plt = (struct plt_entry *)plt_sec->shdr->sh_addr; in module_emit_plt_entry()
52 plt_sec->num_entries++; in module_emit_plt_entry()
54 BUG_ON(plt_sec->num_entries > plt_sec->max_entries); in module_emit_plt_entry()

Completed in 5 milliseconds