The Challenge of Loading 4kB-Aligned ELFs on 16kB Systems
summary
Devices gain ~30% app launch and ~5–7.5% power savings by moving to 16k pages, but legacy 4k-aligned ELFs put RX and RW segments in one page. A modified dynamic loader implements re-read/re-executable rewrite consolidation, mapping combined permissions into an anonymous region and shifting the boundary, which raises compatibility from 44% to 74% and with extra checks to 91.4% then 94% compatibility on top apps. A subpage MFD approach proved correct but up to 15x slower and incompatible with syscall and obfuscated custom-loaders, while binary rewriting fails due to stripped relocation info and mixed code/data.
AI-written summary · about
