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.lds8
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index f72059c107..ef0dece36f 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -20,10 +20,6 @@ OUTPUT_FORMAT(elf32-sh)
20#define ARCH_IRIVER 20#define ARCH_IRIVER
21#endif 21#endif
22 22
23#if (CONFIG_CPU==PP5002) || (CONFIG_CPU==PP5020)
24#define ARCH_IPOD
25#endif
26
27#ifdef ARCH_IRIVER 23#ifdef ARCH_IRIVER
28#define DRAMORIG 0x31000000 24#define DRAMORIG 0x31000000
29#define IRAMORIG 0x1000c000 25#define IRAMORIG 0x1000c000
@@ -32,7 +28,7 @@ OUTPUT_FORMAT(elf32-sh)
32#define DRAMORIG 0x31000000 28#define DRAMORIG 0x31000000
33#define IRAMORIG 0x10010000 29#define IRAMORIG 0x10010000
34#define IRAMSIZE 0x10000 30#define IRAMSIZE 0x10000
35#elif defined(ARCH_IPOD) 31#elif defined(CPU_PP)
36#define DRAMORIG 0x00000000 32#define DRAMORIG 0x00000000
37#define IRAMORIG 0x4000c000 33#define IRAMORIG 0x4000c000
38#define IRAMSIZE 0xc000 34#define IRAMSIZE 0xc000
@@ -77,7 +73,7 @@ SECTIONS
77 .text : 73 .text :
78 { 74 {
79 *(.text*) 75 *(.text*)
80#if (CONFIG_CPU==PP5020) || (CONFIG_CPU==PNX0101) || (CONFIG_CPU==PP5002) 76#if defined(CPU_PP) || (CONFIG_CPU==PNX0101)
81 *(.glue_7) 77 *(.glue_7)
82 *(.glue_7t) 78 *(.glue_7t)
83#endif 79#endif