相关代码 |
|
MEMORY { flash : ORIGIN = 0xffe00000, LENGTH = 0x4000 ram : ORIGIN = 0x003e0000, LENGTH = 0x20000 /* Last 128K of low 4M SDRAM */ } SECTIONS { .text : { _stext = . ; *(.text) *(.rodata) _etext = . ; } > flash .data : AT (ADDR(.text) + SIZEOF(.text)) { _sdata = . ; *(.data) _edata = . ; } > ram .bss : AT (ADDR(.text) + SIZEOF(.text) + SIZEOF(.data)) { _sbss = . ; *(.bss) *(COMMON) _ebss = . ; } > ram }
相关资源 |
|