From 04c7379ac585d1e79fd454cf860a8592db25c67f Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Mon, 9 Feb 2009 10:02:38 +0000 Subject: 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 --- apps/plugins/plugin.lds | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'apps/plugins') 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 -- cgit v1.2.3