Comment 10 for bug 1843479

Revision history for this message
In , Alan Modra (amodra-gmail) wrote :

(In reply to Balint Reczey from comment #2)
> Did I miss something?

You did. By subtracting off_adjust from the value written to p_offset you potentially have p_offset mod page_size != p_vaddr mod page_size.

This will fail the glibc test in elf/dl-load.c resulting in "ELF load command address/offset not properly aligned"