Lines Matching refs:shndx
23 got = (struct got_entry *)sechdrs[got_sec->shndx].sh_addr; in module_emit_got_entry()
53 plt = (struct plt_entry *)sechdrs[plt_sec->shndx].sh_addr; in module_emit_plt_entry()
55 plt_idx = (struct plt_idx_entry *)sechdrs[plt_idx_sec->shndx].sh_addr; in module_emit_plt_entry()
116 mod->arch.got.shndx = i; in module_frob_arch_sections()
118 mod->arch.plt.shndx = i; in module_frob_arch_sections()
120 mod->arch.plt_idx.shndx = i; in module_frob_arch_sections()
125 if (!mod->arch.got.shndx) { in module_frob_arch_sections()
129 if (!mod->arch.plt.shndx) { in module_frob_arch_sections()
133 if (!mod->arch.plt_idx.shndx) { in module_frob_arch_sections()
154 got_sec = sechdrs + mod->arch.got.shndx; in module_frob_arch_sections()
162 plt_sec = sechdrs + mod->arch.plt.shndx; in module_frob_arch_sections()
170 plt_idx_sec = sechdrs + mod->arch.plt_idx.shndx; in module_frob_arch_sections()