summaryrefslogtreecommitdiff
path: root/apps/plugins/plugin.lds
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r--apps/plugins/plugin.lds12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index 5931b6b0a5..7033d023f3 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -54,7 +54,7 @@ OUTPUT_FORMAT(elf32-littlemips)
54#elif CONFIG_CPU==S3C2440 54#elif CONFIG_CPU==S3C2440
55#include "cpu.h" 55#include "cpu.h"
56/* must be 16Kb (0x4000) aligned */ 56/* must be 16Kb (0x4000) aligned */
57#define TTB_SIZE (0x4000) 57#define TTB_SIZE (0x4000)
58#define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE 58#define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE
59 59
60#elif CONFIG_CPU==TCC7801 60#elif CONFIG_CPU==TCC7801
@@ -127,7 +127,7 @@ OUTPUT_FORMAT(elf32-littlemips)
127/* The bit of IRAM that is available is used in the core */ 127/* The bit of IRAM that is available is used in the core */
128#define IRAMSIZE 0 128#define IRAMSIZE 0
129 129
130#elif defined(CPU_TCC780X) || defined(CPU_TCC77X) 130#elif defined(CPU_TCC780X)
131#define DRAMORIG 0x20000000 131#define DRAMORIG 0x20000000
132#if CONFIG_CPU==TCC7801 132#if CONFIG_CPU==TCC7801
133#define IRAMORIG 0x1000c000 133#define IRAMORIG 0x1000c000
@@ -272,7 +272,7 @@ SECTIONS
272 *(.idata) 272 *(.idata)
273#endif 273#endif
274 } > PLUGIN_RAM 274 } > PLUGIN_RAM
275 275
276#if NOCACHE_BASE != 0 276#if NOCACHE_BASE != 0
277 .ncdata . + NOCACHE_BASE : 277 .ncdata . + NOCACHE_BASE :
278 { 278 {
@@ -281,7 +281,7 @@ SECTIONS
281 . = ALIGN(CACHEALIGN_SIZE); 281 . = ALIGN(CACHEALIGN_SIZE);
282/* EABI currently needs these defined here, otherwise .iram and .bss can 282/* EABI currently needs these defined here, otherwise .iram and .bss can
283 sometimes have an incorrect load address, breaking codecs and plugins. */ 283 sometimes have an incorrect load address, breaking codecs and plugins. */
284 bssaddr = . - NOCACHE_BASE; 284 bssaddr = . - NOCACHE_BASE;
285#if defined(IRAMSIZE) && IRAMSIZE != 0 285#if defined(IRAMSIZE) && IRAMSIZE != 0
286 iramcopy = . - NOCACHE_BASE; 286 iramcopy = . - NOCACHE_BASE;
287#endif 287#endif
@@ -314,7 +314,7 @@ SECTIONS
314 *(COMMON) 314 *(COMMON)
315 . = ALIGN(0x4); 315 . = ALIGN(0x4);
316 } > PLUGIN_RAM 316 } > PLUGIN_RAM
317 317
318#if NOCACHE_BASE != 0 318#if NOCACHE_BASE != 0
319 .ncbss . + NOCACHE_BASE (NOLOAD) : 319 .ncbss . + NOCACHE_BASE (NOLOAD) :
320 { 320 {
@@ -354,7 +354,7 @@ SECTIONS
354 . = ALIGN(0x4); 354 . = ALIGN(0x4);
355 iend = .; 355 iend = .;
356 } > PLUGIN_IRAM 356 } > PLUGIN_IRAM
357 357
358 loadendaddr = MAX(plugin_end_addr, LOADADDR(.iram) + SIZEOF(.iram)); 358 loadendaddr = MAX(plugin_end_addr, LOADADDR(.iram) + SIZEOF(.iram));
359#else 359#else
360 loadendaddr = plugin_end_addr; 360 loadendaddr = plugin_end_addr;