Lines Matching defs:elffd
142 static int elffd = -1;
186 int elf_read32(int elffd, Elf_Info *EInfo);
187 int elf_read64(int elffd, Elf_Info *EInfo);
518 elffd = open64(file, O_RDONLY);
519 if (elffd < 0) {
691 ar_coff_or_aout(elffd);
916 ar_coff_or_aout(int elffd)
925 elf = elf_begin(elffd, ELF_C_READ, (Elf *)0);
1192 if (check_ident(ident, elffd) == ELF_READ_FAIL)
1201 if (elf_read32(elffd, &EInfo) == ELF_READ_FAIL) {
1207 if (elf_read64(elffd, &EInfo) == ELF_READ_FAIL) {
1804 if (elffd != -1) {
1805 (void) close(elffd);
1806 elffd = -1;