Home
last modified time | relevance | path

Searched refs:shndx (Results 1 – 4 of 4) sorted by relevance

/arch/loongarch/kernel/
Dmodule-sections.c22 got = (struct got_entry *)sechdrs[got_sec->shndx].sh_addr; in module_emit_got_entry()
52 plt = (struct plt_entry *)sechdrs[plt_sec->shndx].sh_addr; in module_emit_plt_entry()
54 plt_idx = (struct plt_idx_entry *)sechdrs[plt_idx_sec->shndx].sh_addr; in module_emit_plt_entry()
115 mod->arch.got.shndx = i; in module_frob_arch_sections()
117 mod->arch.plt.shndx = i; in module_frob_arch_sections()
119 mod->arch.plt_idx.shndx = i; in module_frob_arch_sections()
124 if (!mod->arch.got.shndx) { in module_frob_arch_sections()
128 if (!mod->arch.plt.shndx) { in module_frob_arch_sections()
132 if (!mod->arch.plt_idx.shndx) { in module_frob_arch_sections()
153 got_sec = sechdrs + mod->arch.got.shndx; in module_frob_arch_sections()
[all …]
/arch/loongarch/include/asm/
Dmodule.h14 int shndx; member
71 struct plt_idx_entry *plt_idx = (struct plt_idx_entry *)sechdrs[sec->shndx].sh_addr; in get_plt_idx()
87 struct plt_entry *plt = (struct plt_entry *)sechdrs[sec_plt->shndx].sh_addr; in get_plt_entry()
100 struct got_entry *got = (struct got_entry *)sechdrs[sec->shndx].sh_addr; in get_got_entry()
/arch/x86/tools/
Drelocs.c253 static const char *sec_name(unsigned shndx) in sec_name() argument
259 if (shndx < shnum) { in sec_name()
260 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name()
262 else if (shndx == SHN_ABS) { in sec_name()
265 else if (shndx == SHN_COMMON) { in sec_name()
836 int shndx = sym_index(sym); in is_percpu_sym() local
838 return (shndx == per_cpu_shndx) && in is_percpu_sym()
/arch/mips/boot/tools/
Drelocs.c91 static const char *sec_name(unsigned shndx) in sec_name() argument
97 if (shndx < ehdr.e_shnum) in sec_name()
98 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name()
99 else if (shndx == SHN_ABS) in sec_name()
101 else if (shndx == SHN_COMMON) in sec_name()