diff options
| author | Dave Chapman <dave@dchapman.com> | 2006-01-12 00:35:50 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2006-01-12 00:35:50 +0000 |
| commit | d83e929f3fc369a5981e1e40e1c5307169a46cfc (patch) | |
| tree | ac323ca5811374a030a1b65bb77fc7ccc163db04 /apps/plugins/plugin.lds | |
| parent | 8d130684214d23a9163810d1dacc33d108f2338a (diff) | |
| download | rockbox-d83e929f3fc369a5981e1e40e1c5307169a46cfc.zip rockbox-d83e929f3fc369a5981e1e40e1c5307169a46cfc.tar.gz rockbox-d83e929f3fc369a5981e1e40e1c5307169a46cfc.tar.bz2 rockbox-d83e929f3fc369a5981e1e40e1c5307169a46cfc.tar.xz | |
Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plugin.lds')
| -rw-r--r-- | apps/plugins/plugin.lds | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 84617b9..c8ac88f 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -4,7 +4,7 @@ #ifdef CPU_COLDFIRE OUTPUT_FORMAT(elf32-m68k) -#elif CONFIG_CPU==PP5020 +#elif defined(CPU_ARM) OUTPUT_FORMAT(elf32-littlearm) #else OUTPUT_FORMAT(elf32-sh) @@ -32,6 +32,10 @@ OUTPUT_FORMAT(elf32-sh) #define DRAMORIG 0x10000000 #define IRAMORIG 0x4000c000 #define IRAMSIZE 0xc000 +#elif CONFIG_CPU == PNX0101 +#define DRAMORIG 0x24000000 +#define IRAMORIG 0x408000 +#define IRAMSIZE 0x8000 #else #define DRAMORIG 0x09000000 + STUBOFFSET #endif @@ -53,7 +57,7 @@ OUTPUT_FORMAT(elf32-sh) MEMORY { PLUGIN_RAM : ORIGIN = THIS_ORIGIN, LENGTH = THIS_LENGTH -#if defined(ARCH_IRIVER) || defined(ARCH_IPOD) +#if defined(ARCH_IRIVER) || defined(ARCH_IPOD) || (CONFIG_CPU==PNX0101) PLUGIN_IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE #endif } @@ -64,7 +68,7 @@ SECTIONS { KEEP(*(.entry)) *(.text*) -#if CONFIG_CPU==PP5020 +#if (CONFIG_CPU==PP5020) || (CONFIG_CPU==PNX0101) *(.glue_7) *(.glue_7t) #endif @@ -79,7 +83,7 @@ SECTIONS .data : { *(.data*) -#if defined(ARCH_IRIVER) || defined(ARCH_IPOD) +#if defined(ARCH_IRIVER) || defined(ARCH_IPOD) || (CONFIG_CPU==PNX0101) iramcopy = .; #endif } > PLUGIN_RAM @@ -89,7 +93,7 @@ SECTIONS *(.eh_frame) } -#if defined(ARCH_IRIVER) || defined(ARCH_IPOD) +#if defined(ARCH_IRIVER) || defined(ARCH_IPOD) || (CONFIG_CPU==PNX0101) .iram IRAMORIG : AT ( iramcopy) { iramstart = .; |