diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-27 14:47:56 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-27 14:49:19 -0400 |
commit | 7dbfda6c55696eb7ba675e8548fe375a21d5d13b (patch) | |
tree | 4243a0aeecc95a0c7df5426d4b9980662e7ce113 /firmware | |
parent | bee736f3ea8be2a200925499ba4440922c9dbb66 (diff) | |
download | rockbox-7dbfda6c55696eb7ba675e8548fe375a21d5d13b.tar.gz 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.lds | 5 |
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 | |||
117 | { | 117 | { |
118 | *(.stack) | 118 | *(.stack) |
119 | stackbegin = .; | 119 | stackbegin = .; |
120 | #ifdef IAUDIO_M5 | ||
121 | . += 0x2000-0x30; | ||
122 | #else | ||
120 | . += 0x2000; | 123 | . += 0x2000; |
124 | #endif | ||
121 | stackend = .; | 125 | stackend = .; |
122 | } > IRAM | 126 | } > IRAM |
123 | 127 | ||
@@ -155,4 +159,3 @@ SECTIONS | |||
155 | pluginbuf = .; | 159 | pluginbuf = .; |
156 | } | 160 | } |
157 | } | 161 | } |
158 | |||