Lines Matching refs:ndx
290 for (int ndx = 0; ndx < (int) (shdr1->sh_size / shdr1->sh_entsize); in main() local
291 ++ndx) in main()
294 GElf_Sym *sym1 = gelf_getsym (data1, ndx, &sym1_mem); in main()
300 GElf_Sym *sym2 = gelf_getsym (data2, ndx, &sym2_mem); in main()
347 if (search_for_copy_reloc (ebl1, elf_ndxscn (scn1), ndx) in main()
348 || search_for_copy_reloc (ebl2, elf_ndxscn (scn2), ndx)) in main()
447 for (int ndx = 0; ndx < ehdr1->e_phnum; ++ndx) in main() local
450 GElf_Phdr *phdr1 = gelf_getphdr (elf1, ndx, &phdr1_mem); in main()
454 ndx, fname1, elf_errmsg (-1)); in main()
456 GElf_Phdr *phdr2 = gelf_getphdr (elf2, ndx, &phdr2_mem); in main()
460 ndx, fname2, elf_errmsg (-1)); in main()
466 fname1, fname2, ndx); in main()
614 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr->sh_entsize); in search_for_copy_reloc() local
615 ++ndx) in search_for_copy_reloc()
618 GElf_Rel *rel = gelf_getrel (data, ndx, &rel_mem); in search_for_copy_reloc()
628 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr->sh_entsize); in search_for_copy_reloc() local
629 ++ndx) in search_for_copy_reloc()
632 GElf_Rela *rela = gelf_getrela (data, ndx, &rela_mem); in search_for_copy_reloc()