/*STARTUP(main.o)*/ ENTRY(_start) MEMORY { /* sram (rwx) : ORIGIN = 0x20000000, LENGTH = 256K */ sram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K } SECTIONS { /* TEXT */ .text 0x20000400 : { *(.text.start) *(.text) } > sram .rodata ALIGN(0x04) : { *(.rodata) } > sram .data ALIGN(0x04) : { *(.data.pirq) *(.data) *(.sdata) } > sram .bss (NOLOAD) : { bstart = . ; *(.ram.start) *(.bss) *(.sbss) *(COMMON) bend = . ; } > sram }