Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/kernel/
H A Dmodule-plts.c76 int i = pltsec->plt_num_entries; in module_emit_plt_entry()
93 pltsec->plt_num_entries += i - j; in module_emit_plt_entry()
94 if (WARN_ON(pltsec->plt_num_entries > pltsec->plt_max_entries)) in module_emit_plt_entry()
107 int i = pltsec->plt_num_entries++; in module_emit_veneer_for_adrp()
111 if (WARN_ON(pltsec->plt_num_entries > pltsec->plt_max_entries)) in module_emit_veneer_for_adrp()
115 i = pltsec->plt_num_entries++; in module_emit_veneer_for_adrp()
287 Elf_Shdr *pltsec, *tramp = NULL; in module_frob_arch_sections() local
345 pltsec->sh_type = SHT_NOBITS; in module_frob_arch_sections()
347 pltsec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
353 pltsec->sh_type = SHT_NOBITS; in module_frob_arch_sections()
[all …]
/openbmc/linux/arch/arm/kernel/
H A Dmodule-plts.c35 if (!ARRAY_SIZE(fixed_plts) || pltsec->plt_count) in prealloc_fixed()
37 pltsec->plt_count = ARRAY_SIZE(fixed_plts); in prealloc_fixed()
54 if (!pltsec->plt_ent) in get_module_plt()
55 pltsec->plt_ent = (struct plt_entries *)pltsec->plt->sh_addr; in get_module_plt()
56 plt = pltsec->plt_ent; in get_module_plt()
58 prealloc_fixed(pltsec, plt); in get_module_plt()
70 if (pltsec->plt_count > 0) { in get_module_plt()
71 plt += (pltsec->plt_count - 1) / PLT_ENT_COUNT; in get_module_plt()
72 idx = (pltsec->plt_count - 1) % PLT_ENT_COUNT; in get_module_plt()
82 pltsec->plt_count++; in get_module_plt()
[all …]