diff options
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r-- | apps/plugins/plugin.lds | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 6b1528738e..071630f681 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds | |||
@@ -1,4 +1,12 @@ | |||
1 | #include "config.h" | ||
2 | |||
3 | /* These output formats should be in the config-files */ | ||
4 | |||
5 | #if CONFIG_CPU == MCF5249 | ||
6 | OUTPUT_FORMAT(elf32-m68k) | ||
7 | #else | ||
1 | OUTPUT_FORMAT(elf32-sh) | 8 | OUTPUT_FORMAT(elf32-sh) |
9 | #endif | ||
2 | 10 | ||
3 | #define PLUGIN_LENGTH 0x8000 | 11 | #define PLUGIN_LENGTH 0x8000 |
4 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_LENGTH | 12 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_LENGTH |