Home | History | Annotate | Download | only in tests

Lines Matching refs:Elf

99   Elf *elf;
124 /* Set the ELF version we are using here. */
127 puts ("ELF library too old");
133 elf = elf_begin (fd, cmd, NULL);
134 if (elf == NULL)
141 if (elf_kind (elf) != ELF_K_AR)
150 Elf *subelf;
155 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
169 fputs ("ELF file:\n", stdout);
199 /* For ELF files we can provide some more information. */
204 /* Get the ELF header. */
206 printf (" *** cannot get ELF header: %s\n", elf_errmsg (-1));
235 printf ("error while freeing sub-ELF descriptor: %s\n",
242 Elf_Arsym *arsym = elf_getarsym (elf, &n);
257 /* Free the ELF handle. */
258 if (elf_end (elf) != 0)
259 printf ("error while freeing ELF descriptor: %s\n", elf_errmsg (-1));