diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2005-02-04 12:25:18 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2005-02-04 12:25:18 +0000 |
| commit | bc54fbd673fcdd7ac518f67e61af50c67380e8e4 (patch) | |
| tree | 4eac07a1d8dad9b42692acb2413c602ec4262f75 /apps/plugins/plugin.lds | |
| parent | 1c105ad0644a1ae46c45d730d6feeb081b907021 (diff) | |
| download | rockbox-bc54fbd673fcdd7ac518f67e61af50c67380e8e4.zip rockbox-bc54fbd673fcdd7ac518f67e61af50c67380e8e4.tar.gz rockbox-bc54fbd673fcdd7ac518f67e61af50c67380e8e4.tar.bz2 rockbox-bc54fbd673fcdd7ac518f67e61af50c67380e8e4.tar.xz | |
set the start address for iRiver plugins (this is still not working)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5782 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plugin.lds')
| -rw-r--r-- | apps/plugins/plugin.lds | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 071630f..a849046 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -8,9 +8,21 @@ OUTPUT_FORMAT(elf32-m68k) OUTPUT_FORMAT(elf32-sh) #endif +#ifdef DEBUG +#define STUBOFFSET 0x10000 +#else +#define STUBOFFSET 0 +#endif + +#ifdef IRIVER_H100 +#define DRAMORIG 0x30000000 +#else +#define DRAMORIG 0x09000000 + STUBOFFSET +#endif + #define PLUGIN_LENGTH 0x8000 #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_LENGTH -#define PLUGIN_ORIGIN (0x09000000 + (DRAMSIZE)) +#define PLUGIN_ORIGIN (DRAMORIG + (DRAMSIZE)) MEMORY { |