Lines Matching refs:e_shnum
146 if (shndx < ehdr.e_shnum) { in sec_name()
222 ehdr.e_shnum = elf16_to_cpu(ehdr.e_shnum); in read_ehdr()
243 if (ehdr.e_shstrndx >= ehdr.e_shnum) { in read_ehdr()
253 secs = calloc(ehdr.e_shnum, sizeof(struct section)); in read_shdrs()
256 ehdr.e_shnum); in read_shdrs()
262 for (i = 0; i < ehdr.e_shnum; i++) { in read_shdrs()
266 i, ehdr.e_shnum, strerror(errno)); in read_shdrs()
277 if (sec->shdr.sh_link < ehdr.e_shnum) in read_shdrs()
286 for (i = 0; i < ehdr.e_shnum; i++) { in read_strtabs()
311 for (i = 0; i < ehdr.e_shnum; i++) { in read_symtabs()
344 for (i = 0; i < ehdr.e_shnum; i++) { in read_relocs()
377 for (i = 0; i < ehdr.e_shnum; i++) { in print_absolute_symbols()
411 for (i = 0; i < ehdr.e_shnum; i++) { in print_absolute_relocs()
479 for (i = 0; i < ehdr.e_shnum; i++) { in walk_relocs()