diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-03-21 12:25:40 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-03-21 12:25:40 +0000 |
commit | 7664a4f7e098c7d349cb0cd75ce48b10cfd261fd (patch) | |
tree | c252be9a3e4f0415c6b0390fb018cb9639850119 /apps/plugins/plugin.lds | |
parent | 1b383a9745dbe941508bbc80b7c030eb759c05c1 (diff) | |
download | rockbox-7664a4f7e098c7d349cb0cd75ce48b10cfd261fd.tar.gz rockbox-7664a4f7e098c7d349cb0cd75ce48b10cfd261fd.zip |
Correct IRAM size for the iAudio X5 app
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9159 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r-- | apps/plugins/plugin.lds | 10 |
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) | |||
57 | MEMORY | 61 | MEMORY |
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 = .; |