Lines Matching refs:ehdr_field
86 #define ehdr_field(field) \ macro
275 if (ehdr_field(e_type) != ET_EXEC) { in main()
277 printf("type 0x%lx\n", ehdr_field(e_type)); in main()
282 if (ehdr_field(e_machine) != EM_MIPS) { in main()
288 phdr32 = elf + ehdr_field(e_phoff); in main()
289 phdr64 = elf + ehdr_field(e_phoff); in main()
290 shdr32 = elf + ehdr_field(e_shoff); in main()
291 shdr64 = elf + ehdr_field(e_shoff); in main()
292 shstrtab = elf + shdr_field(ehdr_field(e_shstrndx), sh_offset); in main()
295 for (i = 0; i < ehdr_field(e_shnum); i++) { in main()
321 for (i = 0; i < ehdr_field(e_shnum); i++) { in main()
340 for (j = 0; j < ehdr_field(e_shnum); j++) { in main()
408 for (i = 0; i < ehdr_field(e_phnum); i++) { in main()