Skip to content
Commit 163f625c authored by H.J. Lu's avatar H.J. Lu
Browse files

elf: Remove excessive p_align check on PT_LOAD segments [BZ #28688]



p_align does not have to be a multiple of the page size.  Only PT_LOAD
segment layout should be aligned to the page size.

1: Remove p_align check against the page size.
2. Use the page size, instead of p_align, to check PT_LOAD segment layout.

Reviewed-by: default avatarFlorian Weimer <fweimer@redhat.com>
parent d3e4f5a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment