summaryrefslogtreecommitdiff
path: root/apps/plugins/plugin.lds
diff options
context:
space:
mode:
authorDaniel Ankers <dan@weirdo.org.uk>2006-11-22 00:41:30 +0000
committerDaniel Ankers <dan@weirdo.org.uk>2006-11-22 00:41:30 +0000
commit242cbd5cd73542c79020a4ce9a8e83ee0391bc72 (patch)
treea1a66ed8d4eb65db38daedfe701138aa0bde726d /apps/plugins/plugin.lds
parent336cb6898ef55ea6480a0b5547d30bb5029c79ef (diff)
downloadrockbox-242cbd5cd73542c79020a4ce9a8e83ee0391bc72.tar.gz
rockbox-242cbd5cd73542c79020a4ce9a8e83ee0391bc72.zip
Change if CONFIG_CPU==PP50XX to ifdef CPU_PP where appropriate
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11569 a1c6a512-1295-4272-9138-f99709370657
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