This reverts commit ebdb9d63. Changing p_memsz is insufficient and may make PT_GNU_RELRO extend beyond the PT_LOAD.