summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-02-09 10:02:38 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-02-09 10:02:38 +0000
commit04c7379ac585d1e79fd454cf860a8592db25c67f (patch)
tree0c42a1f0379d4282ab793f5f23ebde86d25e9e80 /apps/plugins
parentf7a06dd6fc2022876c392e186bcf5037dd5a34bf (diff)
Onda VX747: commit some parts to get apps/ to compile (more will follow)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19954 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/plugin.lds13
1 files changed, 12 insertions, 1 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index 0c5c1e87d3..66433c13e9 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -6,8 +6,12 @@
OUTPUT_FORMAT(elf32-m68k)
#elif defined(CPU_ARM)
OUTPUT_FORMAT(elf32-littlearm)
-#else
+#elif defined(CPU_SH)
OUTPUT_FORMAT(elf32-sh)
+#elif defined(CPU_MIPS)
+OUTPUT_FORMAT(elf32-littlemips)
+#else
+#error Unknown CPU architecture
#endif
#ifdef DEBUG
@@ -99,6 +103,10 @@ OUTPUT_FORMAT(elf32-sh)
#endif
#define DRAMORIG 0x30000000
+#elif CONFIG_CPU == JZ4732
+#define DRAMORIG 0x80004000 + STUBOFFSET
+#define IRAMORIG 0x80000000
+#define IRAMSIZE 0x4000
#else
#define DRAMORIG 0x09000000 + STUBOFFSET
#endif
@@ -182,6 +190,9 @@ SECTIONS
/DISCARD/ :
{
*(.eh_frame)
+#ifdef CPU_MIPS
+ *(.rel.dyn)
+#endif
}
#if defined(IRAMSIZE) && IRAMSIZE != 0