Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pe: Align section size up to page size for mem attrs
Setting memory attributes is generally done at page granularity, and this is enforced by checks in `get_mem_attrs` and `update_mem_attrs`. But unlike the section address, the section size isn't necessarily aligned to 4KiB. Round up the section size to fix this. Signed-off-by: Nicholas Bishop <[email protected]>
- Loading branch information