Skip to content

Commit 7d36709

Browse files
committed
bootstrap: force alignement to make possible to build nacl_helper_bootstrap with a different page size
1 parent 0ee1872 commit 7d36709

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/trusted/service_runtime/linux/nacl_bootstrap.x‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ SECTIONS {
108108
* It just maps it from the file, i.e. way off the end of the file,
109109
* which is perfect for reserving the address space.
110110
*/
111-
. = ALIGN(CONSTANT(COMMONPAGESIZE));
111+
. = ALIGN(CONSTANT(MAXPAGESIZE));
112112
RESERVE_START = .;
113-
.reserve : {
113+
.reserve : ALIGN(CONSTANT(MAXPAGESIZE)) {
114114
. += (RESERVE_TOP > RESERVE_START) ? (RESERVE_TOP - RESERVE_START) : 0;
115115
} :reserve
116116

0 commit comments

Comments
 (0)