Home
last modified time | relevance | path

Searched refs:e_cmd (Results 1 – 17 of 17) sorted by relevance

/netbsd-src/external/bsd/elftoolchain/dist/libelf/
H A Delf_getident.c51 if (e->e_cmd == ELF_C_WRITE && e->e_rawfile == NULL) { in elf_getident()
56 assert(e->e_kind != ELF_K_AR || e->e_cmd == ELF_C_READ); in elf_getident()
H A Delf_update.c193 if (e->e_cmd != ELF_C_WRITE && elf_getdata(s, NULL) == NULL) in _libelf_compute_section_extents()
576 if (e->e_cmd != ELF_C_WRITE && eh_byteorder != e->e_byteorder) { in _libelf_resync_elf()
657 if (e->e_cmd != ELF_C_WRITE && in _libelf_resync_elf()
1048 assert(e->e_cmd == ELF_C_RDWR || e->e_cmd == ELF_C_WRITE); in _libelf_write_elf()
1111 assert(e->e_cmd == ELF_C_RDWR); in _libelf_write_elf()
1132 if (e->e_cmd == ELF_C_RDWR) { in _libelf_write_elf()
1227 if (c == ELF_C_WRITE && e->e_cmd == ELF_C_READ) { in elf_update()
H A Dlibelf_open.c168 e->e_cmd = c; in _libelf_open_object()
254 e->e_cmd = c; in _libelf_open_object()
H A Delf_scn.c158 if (e->e_cmd != ELF_C_WRITE && in elf_getscn()
211 if (e->e_cmd != ELF_C_WRITE && in elf_newscn()
H A Delf_cntl.c53 if (e->e_cmd == ELF_C_WRITE) { in elf_cntl()
H A Delf_rawfile.c46 else if ((ptr = e->e_rawfile) == NULL && e->e_cmd == ELF_C_WRITE) in elf_rawfile()
H A Dlibelf_ehdr.c165 if (e->e_cmd != ELF_C_WRITE && e->e_rawsize < (off_t) fsz) { in _libelf_ehdr()
189 if (e->e_cmd == ELF_C_WRITE) in _libelf_ehdr()
H A Delf_next.c58 assert(parent->e_cmd == ELF_C_READ); in elf_next()
H A Delf_begin.c76 ((a->e_fd != -1 && a->e_fd != fd) || c != a->e_cmd)) { in elf_begin()
H A Dlibelf_memory.c64 e->e_cmd = ELF_C_READ; in _libelf_memory()
H A Dgelf_shdr.c113 if (e->e_cmd == ELF_C_READ) { in gelf_update_shdr()
H A Dlibelf_allocate.c63 e->e_cmd = ELF_C_NULL; in _libelf_allocate_elf()
H A Delf_flag.c134 if ((flags & ELF_F_ARCHIVE) && e->e_cmd != ELF_C_WRITE) { in elf_flagelf()
H A Dgelf_ehdr.c141 if (e->e_cmd == ELF_C_READ) { in gelf_update_ehdr()
H A Dgelf_phdr.c143 if (e->e_cmd == ELF_C_READ) { in gelf_update_phdr()
H A D_libelf.h89 Elf_Cmd e_cmd; /* ELF_C_* used at creation time */ member
H A Dlibelf_ar.c293 e->e_cmd = c; in _libelf_ar_open_member()