diff options
-rw-r--r-- | apps/plugins/plugin.lds | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 6b608fcc70..fcfbf3bfe0 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds | |||
@@ -231,11 +231,16 @@ SECTIONS | |||
231 | . = ALIGN(CACHEALIGN_SIZE); | 231 | . = ALIGN(CACHEALIGN_SIZE); |
232 | *(.ncdata*) | 232 | *(.ncdata*) |
233 | . = ALIGN(CACHEALIGN_SIZE); | 233 | . = ALIGN(CACHEALIGN_SIZE); |
234 | } AT> PLUGIN_RAM | 234 | /* EABI currently needs iramcopy defined here, otherwise .iram can sometimes |
235 | #endif | 235 | have an incorrect load address, breaking codecs. */ |
236 | |||
237 | #if defined(IRAMSIZE) | 236 | #if defined(IRAMSIZE) |
238 | iramcopy = . - NOCACHE_BASE; | 237 | iramcopy = . - NOCACHE_BASE; |
238 | #endif | ||
239 | } AT> PLUGIN_RAM | ||
240 | /* This definition is used when NOCACHE_BASE is 0. The address offset bug only | ||
241 | seems to occur when the empty .ncdata is present. */ | ||
242 | #elif defined(IRAMSIZE) | ||
243 | iramcopy = .; | ||
239 | #endif | 244 | #endif |
240 | 245 | ||
241 | /DISCARD/ : | 246 | /DISCARD/ : |