Home | History | Annotate | Download | only in tests

Lines Matching refs:cnt

56   size_t cnt;
155 for (cnt = 1; cnt < 5; ++cnt)
161 scn = elf_getscn (elf, cnt);
164 printf ("cannot get section %Zd: %s\n", cnt, elf_errmsg (-1));
173 cnt, elf_errmsg (-1));
179 scnnames[cnt]) != 0)
181 printf ("section %Zd's name differs: %s vs %s\n", cnt,
183 scnnames[cnt]);
187 if (shdr->sh_type != scntypes[cnt])
189 printf ("section %Zd's type differs\n", cnt);
193 if ((cnt == 1 && shdr->sh_flags != (SHF_ALLOC | SHF_WRITE))
194 || (cnt != 1 && shdr->sh_flags != 0))
196 printf ("section %Zd's flags differs\n", cnt);
202 printf ("section %Zd's address differs\n", cnt);
206 if (cnt == 3)