Skip to content
Snippets Groups Projects
Commit 658b7fc9 authored by Ben Gamari's avatar Ben Gamari Committed by GHC GitLab CI
Browse files

rts/linker: Align bssSize to page size when mapping symbol extras

We place symbol_extras right after bss. We also need
to ensure that symbol_extras can be mprotect'd independently from the
rest of the image. To ensure this we round up the size of bss to a page
boundary, thus ensuring that symbol_extras is also page-aligned.

(cherry picked from commit 9f40cf6c)
(cherry picked from commit 4b83b6a8)
parent 4f01c8b4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment