rockbox/apps/plugins/rockboy/archos.lds
Daniel Stenberg a24017f4da Moved the codec and plugin buffer sizes to the config-*.h files instead of
having it repeated in numerous files where they all had to be updated to the
same value if ever changed. This allows specific models to actually have its
own buffer sizes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6901 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 21:23:03 +00:00

46 lines
847 B
Text
Executable file

#include "config.h"
/* linker script for rockboy as an overlay,
* only used/ necessary for SH-based archos targets */
OUTPUT_FORMAT(elf32-sh)
#define DRAMORIG 0x09000000
#define PLUGIN_LENGTH PLUGIN_BUFFER_SIZE
#define OVERLAY_LENGTH 0x68000
#define OVERLAY_ORIGIN (DRAMORIG + (MEMORYSIZE * 0x100000) - PLUGIN_LENGTH - OVERLAY_LENGTH)
MEMORY
{
OVERLAY_RAM : ORIGIN = OVERLAY_ORIGIN, LENGTH = OVERLAY_LENGTH
}
SECTIONS
{
.header : {
_ovl_start_addr = .;
*(.header)
} > OVERLAY_RAM
.text : {
*(.entry)
*(.text)
} > OVERLAY_RAM
.data : {
*(.data)
} > OVERLAY_RAM
.bss : {
*(.bss)
} > OVERLAY_RAM
.rodata : {
*(.rodata)
*(.rodata.str1.1)
*(.rodata.str1.4)
. = ALIGN(0x4);
_ovl_end_addr = .;
} > OVERLAY_RAM
}