Lines Matching defs:elf
31 Elf *elf;
32 Elf *subelf;
48 /* Set the ELF version. */
51 /* Create an ELF descriptor. */
53 elf = elf_begin (fd, cmd, NULL);
54 if (elf == NULL)
56 printf ("Cannot create ELF descriptor: %s\n", elf_errmsg (-1));
61 if (elf_kind (elf) != ELF_K_AR)
68 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
128 if (elf_end (subelf) != 0 || elf_end (elf) != 0)
130 printf ("Freeing ELF descriptors failed: %s", elf_errmsg (-1));
145 printf ("error while freeing sub-ELF descriptor: %s\n",