ELF_C_WRITE
case ELF_C_WRITE:
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) {
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);
(c != ELF_C_NULL && c != ELF_C_WRITE)) {
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_WRITE && e->e_rawsize < (off_t) fsz) {
if (e->e_cmd == ELF_C_WRITE)
assert(c == ELF_C_READ || c == ELF_C_RDWR || c == ELF_C_WRITE);
if (c == ELF_C_WRITE) {