Searched refs:_elf (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/libelf/demo/
H A Dpcom.c111 Elf *_elf; local
130 while ((_elf = elf_begin(fd, cmd, elf)) != NULL) {
134 arhdr = elf_getarhdr(_elf);
145 process_elf(_elf, buffer, fd, 1);
146 cmd = elf_next(_elf);
147 (void) elf_end(_elf);
H A Dtpcom.c133 Elf *_elf; local
141 while ((_elf = elf_begin(pep->pe_fd, cmd,
147 if ((arhdr = elf_getarhdr(_elf)) == NULL) {
152 cmd = elf_next(_elf);
154 _pep->pe_elf = _elf;
H A Ddispsyms.c279 Elf *_elf; local
298 while ((_elf = elf_begin(fd, cmd, elf)) != NULL) {
302 arhdr = elf_getarhdr(_elf);
314 process_elf(_elf, buffer, fd, 1);
315 cmd = elf_next(_elf);
316 (void) elf_end(_elf);
/illumos-gate/usr/src/cmd/sgs/ld/common/
H A Dld.c180 Elf *_elf = NULL; local
188 while (!found && ((_elf = elf_begin(fd, cmd, elf)) != NULL)) {
189 if ((arhdr = elf_getarhdr(_elf)) == NULL)
192 switch (elf_kind(_elf)) {
194 found = archive(fd, _elf, class_ret, mach_ret);
197 if (gelf_getclass(_elf) == ELFCLASS64) {
200 if ((ehdr = elf64_getehdr(_elf)) ==
208 if ((ehdr = elf32_getehdr(_elf)) ==
219 cmd = elf_next(_elf);
220 (void) elf_end(_elf);
[all...]
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dmain.c566 Elf *_elf = NULL; local
631 if (_elf)
632 (void) elf_end(_elf);
638 } else if ((_elf = elf_begin(fd,
642 } else if ((arhdr = elf_getarhdr(_elf)) == 0) {
667 if (_elf)
668 (void) elf_end(_elf);
689 while ((_elf = elf_begin(fd, cmd, elf)) != NULL) {
692 if ((arhdr = elf_getarhdr(_elf)) == NULL) {
701 switch (elf_kind(_elf)) {
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dtls.c33 #include <_elf.h>
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/
H A Dboot_elf.s33 #include <_elf.h>

Completed in 121 milliseconds