-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] Align sections to page boundaries
Allow PE section attributes to be used to inform page-level protection mechanisms such as W^X by aligning all sections to a page boundary. Aligning the payload to a page boundary causes it to no longer immediately follow the bzImage setup code. Allow for this padding when locating the start of the loaded-high payload to be copied to the runtime address. Signed-off-by: Michael Brown <[email protected]>
- Loading branch information
Showing
2 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters