Lines Matching defs:subelf
493 Elf *subelf;
494 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
496 Elf_Arhdr *arhdr = elf_getarhdr (subelf);
500 index_off = elf_getaroff (subelf);
584 char *data = elf_rawfile (subelf, &nleft);
740 cmd = elf_next (subelf);
741 if (elf_end (subelf) != 0)
938 Elf *subelf;
939 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
941 Elf_Arhdr *arhdr = elf_getarhdr (subelf);
967 newp->old_off = elf_getaroff (subelf);
983 arlib_add_symbols (subelf, arfname, arhdr->ar_name, newp->off);
990 cmd = elf_next (subelf);
991 if (elf_end (subelf) != 0)
1147 Elf *subelf;
1148 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
1150 Elf_Arhdr *arhdr = elf_getarhdr (subelf);
1158 newp->old_off = elf_getaroff (subelf);
1211 cmd = elf_next (subelf);
1212 if (elf_end (subelf) != 0)
1366 /* Fake initializing arhdr and subelf to keep gcc calm. */
1367 asm ("" : "=m" (arhdr), "=m" (subelf));
1369 || (subelf = elf_begin (fd, ELF_C_READ_MMAP, elf)) == NULL
1370 || (arhdr = elf_getarhdr (subelf)) == NULL)
1375 arlib_add_symbols (subelf, arfname, arhdr->ar_name, cur_off);
1377 elf_end (subelf);