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)
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)
#define ARCH_IRIVER
#endif
-#if (CONFIG_CPU==PP5002) || (CONFIG_CPU==PP5020)
-#define ARCH_IPOD
-#endif
-
#ifdef ARCH_IRIVER
#define DRAMORIG 0x31000000
#define IRAMORIG 0x1000c000
@@ -32,7 +28,7 @@ OUTPUT_FORMAT(elf32-sh)
#define DRAMORIG 0x31000000
#define IRAMORIG 0x10010000
#define IRAMSIZE 0x10000
-#elif defined(ARCH_IPOD)
+#elif defined(CPU_PP)
#define DRAMORIG 0x00000000
#define IRAMORIG 0x4000c000
#define IRAMSIZE 0xc000
@@ -77,7 +73,7 @@ SECTIONS
.text :
{
*(.text*)
-#if (CONFIG_CPU==PP5020) || (CONFIG_CPU==PNX0101) || (CONFIG_CPU==PP5002)
+#if defined(CPU_PP) || (CONFIG_CPU==PNX0101)
*(.glue_7)
*(.glue_7t)
#endif