[PATCH] Fix alignment problem when rewriting sections After commit ac212d0e6fb8b741e5a5e9ea61091149103f401c the code to rewrite alignment section has been changed to use the largest alignment in the list of segments instead of the alignment that it's retrieved using getPageSize().
Unfortunately the code didn't update the offset as well to keep the invariant p_vaddr % alignment == p_offset % alignment.