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.lds10
1 files changed, 7 insertions, 3 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index d4b3a1041e..010a75ed13 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -28,6 +28,10 @@ OUTPUT_FORMAT(elf32-sh)
28#define DRAMORIG 0x31000000 28#define DRAMORIG 0x31000000
29#define IRAMORIG 0x1000c000 29#define IRAMORIG 0x1000c000
30#define IRAMSIZE 0xc000 30#define IRAMSIZE 0xc000
31#elif defined(IAUDIO_X5)
32#define DRAMORIG 0x31000000
33#define IRAMORIG 0x1000c000
34#define IRAMSIZE 0xc000
31#elif defined(ARCH_IPOD) 35#elif defined(ARCH_IPOD)
32#define DRAMORIG 0x00000000 36#define DRAMORIG 0x00000000
33#define IRAMORIG 0x4000c000 37#define IRAMORIG 0x4000c000
@@ -57,7 +61,7 @@ OUTPUT_FORMAT(elf32-sh)
57MEMORY 61MEMORY
58{ 62{
59 PLUGIN_RAM : ORIGIN = THIS_ORIGIN, LENGTH = THIS_LENGTH 63 PLUGIN_RAM : ORIGIN = THIS_ORIGIN, LENGTH = THIS_LENGTH
60#if defined(ARCH_IRIVER) || defined(ARCH_IPOD) || (CONFIG_CPU==PNX0101) 64#if defined(IRAMSIZE)
61 PLUGIN_IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE 65 PLUGIN_IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
62#endif 66#endif
63} 67}
@@ -88,7 +92,7 @@ SECTIONS
88 .data : 92 .data :
89 { 93 {
90 *(.data*) 94 *(.data*)
91#if defined(ARCH_IRIVER) || defined(ARCH_IPOD) || (CONFIG_CPU==PNX0101) 95#if defined(IRAMSIZE)
92 iramcopy = .; 96 iramcopy = .;
93#endif 97#endif
94 } > PLUGIN_RAM 98 } > PLUGIN_RAM
@@ -98,7 +102,7 @@ SECTIONS
98 *(.eh_frame) 102 *(.eh_frame)
99 } 103 }
100 104
101#if defined(ARCH_IRIVER) || defined(ARCH_IPOD) || (CONFIG_CPU==PNX0101) 105#if defined(IRAMSIZE)
102 .iram IRAMORIG : AT ( iramcopy) 106 .iram IRAMORIG : AT ( iramcopy)
103 { 107 {
104 iramstart = .; 108 iramstart = .;