e_cmd
Elf_Cmd e_cmd; /* ELF_C_* used at creation time */
((a->e_fd != -1 && a->e_fd != fd) || c != a->e_cmd)) {
if (e->e_cmd == ELF_C_WRITE) {
if ((flags & ELF_F_ARCHIVE) && e->e_cmd != ELF_C_WRITE) {
if (e->e_cmd == ELF_C_WRITE && e->e_rawfile == NULL) {
assert(e->e_kind != ELF_K_AR || e->e_cmd == ELF_C_READ);
assert(parent->e_cmd == ELF_C_READ);
else if ((ptr = e->e_rawfile) == NULL && e->e_cmd == ELF_C_WRITE)
if (e->e_cmd != ELF_C_WRITE &&
if (e->e_cmd != ELF_C_WRITE &&
assert(e->e_cmd == ELF_C_RDWR || e->e_cmd == ELF_C_WRITE);
assert(e->e_cmd == ELF_C_RDWR);
if (e->e_cmd == ELF_C_RDWR) {
if (c == ELF_C_WRITE && e->e_cmd == ELF_C_READ) {
if (e->e_cmd != ELF_C_WRITE && elf_getdata(s, NULL) == NULL)
if (e->e_cmd != ELF_C_WRITE && eh_byteorder != e->e_byteorder) {
if (e->e_cmd != ELF_C_WRITE &&
if (e->e_cmd == ELF_C_READ) {
if (e->e_cmd == ELF_C_READ) {
if (e->e_cmd == ELF_C_READ) {
e->e_cmd = ELF_C_NULL;
e->e_cmd = c;
if (e->e_cmd != ELF_C_WRITE && e->e_rawsize < (off_t) fsz) {
if (e->e_cmd == ELF_C_WRITE)
e->e_cmd = ELF_C_READ;
e->e_cmd = c;
e->e_cmd = c;
ecode = e_cmd;
ecode = e_cmd;
ecode = e_cmd;
ecode = e_cmd;
ecode = e_cmd;