Fix accounting of last written position when updating ELF files.
2 files changed