aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bbl/bbl.lds7
-rw-r--r--pk/pk.lds3
2 files changed, 6 insertions, 4 deletions
diff --git a/bbl/bbl.lds b/bbl/bbl.lds
index 892621a..397cd3f 100644
--- a/bbl/bbl.lds
+++ b/bbl/bbl.lds
@@ -38,12 +38,12 @@ SECTIONS
}
/* End of code and read-only segment */
+ . = ALIGN(0x1000);
_etext = .;
/*--------------------------------------------------------------------*/
/* HTIF, isolated onto separate page */
/*--------------------------------------------------------------------*/
- . = ALIGN(0x1000);
.htif :
{
PROVIDE( __htif_base = . );
@@ -96,10 +96,11 @@ SECTIONS
*(COMMON)
}
+ . = ALIGN(0x1000);
+ _end = .;
+
.payload :
{
*(.payload)
}
-
- _end = .;
}
diff --git a/pk/pk.lds b/pk/pk.lds
index 5665251..635ccd0 100644
--- a/pk/pk.lds
+++ b/pk/pk.lds
@@ -38,12 +38,12 @@ SECTIONS
}
/* End of code and read-only segment */
+ . = ALIGN(0x1000);
_etext = .;
/*--------------------------------------------------------------------*/
/* HTIF, isolated onto separate page */
/*--------------------------------------------------------------------*/
- . = ALIGN(0x1000);
.htif :
{
PROVIDE( __htif_base = . );
@@ -96,5 +96,6 @@ SECTIONS
*(COMMON)
}
+ . = ALIGN(0x1000);
_end = .;
}