Home | History | Annotate | Download | only in tests

Lines Matching refs:Elf

91   Elf *elf;
116 /* Set the ELF version we are using here. */
119 puts ("ELF library too old");
125 elf = elf_begin (fd, cmd, NULL);
126 if (elf == NULL)
133 if (elf_kind (elf) != ELF_K_AR)
142 Elf *subelf;
147 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
161 fputs ("ELF file:\n", stdout);
191 /* For ELF files we can provide some more information. */
196 /* Get the ELF header. */
198 printf (" *** cannot get ELF header: %s\n", elf_errmsg (-1));
227 printf ("error while freeing sub-ELF descriptor: %s\n",
234 Elf_Arsym *arsym = elf_getarsym (elf, &n);
249 /* Free the ELF handle. */
250 if (elf_end (elf) != 0)
251 printf ("error while freeing ELF descriptor: %s\n", elf_errmsg (-1));