fix FS#8187 - charging breaks sleep timer. Now if the timer goes off and the player...
[Rockbox.git] / apps / plugins / rockboy / archos.lds
blobfcc3e6f9226cda05363cda22fd3f5e7b93327992
1 #include "config.h"
3 /* linker script for rockboy as an overlay,
4  * only used/ necessary for SH-based archos targets */
6 OUTPUT_FORMAT(elf32-sh)
8 #define DRAMORIG 0x09000000
9 #define PLUGIN_LENGTH PLUGIN_BUFFER_SIZE
11 #define OVERLAY_LENGTH 0x68000
12 #define OVERLAY_ORIGIN (DRAMORIG + (MEMORYSIZE * 0x100000) - PLUGIN_LENGTH - OVERLAY_LENGTH)
14 MEMORY
16    OVERLAY_RAM : ORIGIN = OVERLAY_ORIGIN, LENGTH = OVERLAY_LENGTH
19 SECTIONS
21     .header : {
22         _plugin_start_addr = .;
23         KEEP(*(.header))
24     } > OVERLAY_RAM
26     .text : {
27         *(.text*)
28     } > OVERLAY_RAM
30     .rodata : {
31         *(.rodata*)
32     } > OVERLAY_RAM
34     .data : {
35         *(.data*)
36     } > OVERLAY_RAM
38     .bss : {
39         *(.bss*)
40         *(COMMON)
41         . = ALIGN(0x4);
42         _plugin_end_addr = .;
43     } > OVERLAY_RAM