Home
last modified time | relevance | path

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

/linux/arch/loongarch/kernel/
H A Dmodule-sections.c14 struct mod_section *got_sec = &mod->arch.got; in module_emit_got_entry() local
15 int i = got_sec->num_entries; in module_emit_got_entry()
16 struct got_entry *got = get_got_entry(val, sechdrs, got_sec); in module_emit_got_entry()
22 got = (struct got_entry *)sechdrs[got_sec->shndx].sh_addr; in module_emit_got_entry()
25 got_sec->num_entries++; in module_emit_got_entry()
26 if (got_sec->num_entries > got_sec->max_entries) { in module_emit_got_entry()
108 Elf_Shdr *got_sec, *plt_sec, *plt_idx_sec, *tramp = NULL; in module_frob_arch_sections() local
153 got_sec = sechdrs + mod->arch.got.shndx; in module_frob_arch_sections()
154 got_sec->sh_type = SHT_NOBITS; in module_frob_arch_sections()
155 got_sec->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
[all …]
/linux/arch/riscv/kernel/
H A Dmodule-sections.c15 struct mod_section *got_sec = &mod->arch.got; in module_emit_got_entry() local
16 int i = got_sec->num_entries; in module_emit_got_entry()
17 struct got_entry *got = get_got_entry(val, got_sec); in module_emit_got_entry()
23 got = (struct got_entry *)got_sec->shdr->sh_addr; in module_emit_got_entry()
26 got_sec->num_entries++; in module_emit_got_entry()
27 BUG_ON(got_sec->num_entries > got_sec->max_entries); in module_emit_got_entry()