ENTRY(start) OUTPUT_FORMAT(elf32-sh) INPUT(crt0.o) MEMORY { DRAM : ORIGIN = 0x09000000, LENGTH = (8 * 0x100000) - 0x8000 IRAM : ORIGIN = 0x0f000000, LENGTH = 0x1000 FLASH : ORIGIN = 0x02011000, LENGTH = 256K - 0x11000 } SECTIONS { .vectors : { *(.resetvectors); *(.vectors); . = ALIGN(0x200); *(.init.text) } > FLASH .text : { *(.text) . = ALIGN(0x4); } > FLASH .rodata : { *(.rodata) *(.rodata.str1.4) . = ALIGN(0x4); . += 4096; } > FLASH .iramcopy : { _iramcopy = .; . += 4K; } > FLASH .data : { *(.data) } > FLASH .stack : { *(.stack) _stackbegin = .; . += 0x2000; _stackend = .; } > DRAM .bss : { _edata = .; *(.bss) *(COMMON) _end = .; } > DRAM .mp3buf : { _mp3buffer = .; } > DRAM .mp3end (0x09000000 + (8 * 0x100000) - 0x8000): { _mp3end = .; } > DRAM .plugin (0x09000000 + (8 * 0x100000) - 0x8000): { _pluginbuf = .; } .iram 0xf000000 : AT ( _iramcopy ) { _iramstart = .; *(.icode) *(.idata) _iramend = .; } > IRAM }