Skip to content

Commit 20f8b02

Browse files
committed
bootstrap: force alignement to make possible to build nacl_helper_bootstrap with a different page size
1 parent 00f0491 commit 20f8b02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/trusted/service_runtime/linux/nacl_bootstrap.x

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

0 commit comments

Comments
 (0)