Lines Matching refs:shndx
22 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()
161 plt_sec = sechdrs + mod->arch.plt.shndx; in module_frob_arch_sections()
169 plt_idx_sec = sechdrs + mod->arch.plt_idx.shndx; in module_frob_arch_sections()