summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-27 14:47:56 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-27 14:49:19 -0400
commit7dbfda6c55696eb7ba675e8548fe375a21d5d13b (patch)
tree4243a0aeecc95a0c7df5426d4b9980662e7ce113 /firmware
parentbee736f3ea8be2a200925499ba4440922c9dbb66 (diff)
downloadrockbox-7dbfda6c55696eb7ba675e8548fe375a21d5d13b.tar.gz
rockbox-7dbfda6c55696eb7ba675e8548fe375a21d5d13b.tar.bz2
rockbox-7dbfda6c55696eb7ba675e8548fe375a21d5d13b.zip
iaudiom5: Fix build.
Basically we're overflowing IRAM by 48 bytes. Shrink the stack by 48 bytes to compensate. Fixing this properly will require careful decisions about what (code and/or data) to eject from IRAM. Change-Id: Ia3054280bcbd9813b9cce83f16ba4fbd15085110
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/coldfire/app.lds5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/target/coldfire/app.lds b/firmware/target/coldfire/app.lds
index 457c71c97c..031ade7cc4 100644
--- a/firmware/target/coldfire/app.lds
+++ b/firmware/target/coldfire/app.lds
@@ -117,7 +117,11 @@ SECTIONS
{
*(.stack)
stackbegin = .;
+#ifdef IAUDIO_M5
+ . += 0x2000-0x30;
+#else
. += 0x2000;
+#endif
stackend = .;
} > IRAM
@@ -155,4 +159,3 @@ SECTIONS
pluginbuf = .;
}
}
-