Lines Matching refs:e_shnum
107 if (shndx < ehdr.e_shnum)
122 for (i = 0; i < ehdr.e_shnum; i++)
175 if (ehdr.e_shstrndx >= ehdr.e_shnum)
183 secs = calloc(ehdr.e_shnum, sizeof(struct section));
185 die("Unable to allocate %d section headers\n", ehdr.e_shnum);
190 for (i = 0; i < ehdr.e_shnum; i++) {
196 i, ehdr.e_shnum, strerror(errno));
198 if (sec->shdr.sh_link < ehdr.e_shnum)
207 for (i = 0; i < ehdr.e_shnum; i++) {
232 for (i = 0; i < ehdr.e_shnum; i++) {
266 for (i = 0; i < ehdr.e_shnum; i++) {
299 for (i = 0; i < ehdr.e_shnum; i++) {
311 i, ehdr.e_shnum, strerror(errno));
325 i, ehdr.e_shnum, strerror(errno));
360 for (i = 0; i < ehdr.e_shnum; i++) {