Commit 0f4fb39
committed
Ensure apps are linked with 4k page size
All our lds assume a 4k alignment. Without this, on archs like aarch64
where the linker may assume a larger page size (64k), gnu ld will end up
merging .text and .data sections into the same segment.
This results in the segment being RWE which will cause a fatal warning
(and is a bad thing anyways)
Signed-off-by: Benjamin Herrenschmidt <[email protected]>1 parent d51a8ff commit 0f4fb39
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
85 | 90 | | |
86 | 91 | | |
87 | 92 | | |
| |||
0 commit comments