diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-02-09 10:02:38 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-02-09 10:02:38 +0000 |
commit | 04c7379ac585d1e79fd454cf860a8592db25c67f (patch) | |
tree | 0c42a1f0379d4282ab793f5f23ebde86d25e9e80 /apps/plugins | |
parent | f7a06dd6fc2022876c392e186bcf5037dd5a34bf (diff) | |
download | rockbox-04c7379ac585d1e79fd454cf860a8592db25c67f.tar.gz rockbox-04c7379ac585d1e79fd454cf860a8592db25c67f.zip |
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.lds | 13 |
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 @@ | |||
6 | OUTPUT_FORMAT(elf32-m68k) | 6 | OUTPUT_FORMAT(elf32-m68k) |
7 | #elif defined(CPU_ARM) | 7 | #elif defined(CPU_ARM) |
8 | OUTPUT_FORMAT(elf32-littlearm) | 8 | OUTPUT_FORMAT(elf32-littlearm) |
9 | #else | 9 | #elif defined(CPU_SH) |
10 | OUTPUT_FORMAT(elf32-sh) | 10 | OUTPUT_FORMAT(elf32-sh) |
11 | #elif defined(CPU_MIPS) | ||
12 | OUTPUT_FORMAT(elf32-littlemips) | ||
13 | #else | ||
14 | #error Unknown CPU architecture | ||
11 | #endif | 15 | #endif |
12 | 16 | ||
13 | #ifdef DEBUG | 17 | #ifdef DEBUG |
@@ -99,6 +103,10 @@ OUTPUT_FORMAT(elf32-sh) | |||
99 | #endif | 103 | #endif |
100 | #define DRAMORIG 0x30000000 | 104 | #define DRAMORIG 0x30000000 |
101 | 105 | ||
106 | #elif CONFIG_CPU == JZ4732 | ||
107 | #define DRAMORIG 0x80004000 + STUBOFFSET | ||
108 | #define IRAMORIG 0x80000000 | ||
109 | #define IRAMSIZE 0x4000 | ||
102 | #else | 110 | #else |
103 | #define DRAMORIG 0x09000000 + STUBOFFSET | 111 | #define DRAMORIG 0x09000000 + STUBOFFSET |
104 | #endif | 112 | #endif |
@@ -182,6 +190,9 @@ SECTIONS | |||
182 | /DISCARD/ : | 190 | /DISCARD/ : |
183 | { | 191 | { |
184 | *(.eh_frame) | 192 | *(.eh_frame) |
193 | #ifdef CPU_MIPS | ||
194 | *(.rel.dyn) | ||
195 | #endif | ||
185 | } | 196 | } |
186 | 197 | ||
187 | #if defined(IRAMSIZE) && IRAMSIZE != 0 | 198 | #if defined(IRAMSIZE) && IRAMSIZE != 0 |