summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/imx31/app.lds6
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/target/arm/imx31/app.lds b/firmware/target/arm/imx31/app.lds
index 24b9f27..d8d7f4c 100644
--- a/firmware/target/arm/imx31/app.lds
+++ b/firmware/target/arm/imx31/app.lds
@@ -99,6 +99,10 @@ SECTIONS
*(.eh_frame)
}
+ /* NOLOAD sections at end start here. Any part of the binary image past
+ * this point is discarded or copied elsewhere. */
+ _noloaddram = .;
+
.vectors 0x0 :
{
_vectorsstart = .;
@@ -119,7 +123,7 @@ SECTIONS
_initcopy = LOADADDR(.init);
- .stack (NOLOAD) :
+ .stack _noloaddram (NOLOAD) :
{
. = ALIGN(4);
*(.stack)