Changeset View
Changeset View
Standalone View
Standalone View
contrib/elftoolchain/libelf/elf_update.c
Show First 20 Lines • Show All 1,206 Lines • ▼ Show 20 Lines | if (e->e_fd < 0) { | ||||
LIBELF_SET_ERROR(SEQUENCE, 0); | LIBELF_SET_ERROR(SEQUENCE, 0); | ||||
goto done; | goto done; | ||||
} | } | ||||
rc = _libelf_write_elf(e, rc, &extents); | rc = _libelf_write_elf(e, rc, &extents); | ||||
done: | done: | ||||
_libelf_release_extents(&extents); | _libelf_release_extents(&extents); | ||||
e->e_flags &= ~LIBELF_F_SHDRS_LOADED; | |||||
return (rc); | return (rc); | ||||
} | } |