Fixes FS#8651 (noise and/or crash while crossfading). Latest ARM-asm submit for dsp...
[maemo-rb.git] / apps / plugins / zxbox / archos.lds
blob319b9eb626d1841838c49aaedf9ed5b4db06f24f
1 #include "config.h"
3 /* linker script for chessbox 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 0x80000
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         *(.header)
24     } > OVERLAY_RAM
26     .text : {
27         *(.text)
28         *(.text.*)
29     } > OVERLAY_RAM
31     .rodata : {
32         *(.rodata)
33         *(.rodata.*)
34     } > OVERLAY_RAM
36     .data : {
37         *(.data)
38     } > OVERLAY_RAM
40     .bss : {
41         *(.bss)
42         *(.bss.*)
43         *(COMMON)
44         . = ALIGN(0x4);
45         _plugin_end_addr = .;
46     } > OVERLAY_RAM