1ENTRY(main) 2 3MEMORY { 4 ram : ORIGIN = 0x55550000, LENGTH = 0x10000000 5} 6 7SECTIONS { 8 . = 0x55550000; 9 10 .text : ALIGN(4) 11 { 12 __TEXT_START__ = .; 13 *(.text*); 14 . = ALIGN(4); 15 __TEXT_END__ = .; 16 } > ram 17 18 .got : ALIGN(4) 19 { 20 *(.got*); 21 } > ram 22 23 .data : ALIGN(4) 24 { 25 __DATA_START__ = .; 26 *(.data*); 27 *(.rodata*); 28 __DATA_END__ = .; 29 } > ram 30 31 .bss : ALIGN(4) 32 { 33 __BSS_START__ = .; 34 *(.bss*); 35 . = ALIGN(4); 36 __BSS_END__ = .; 37 end = __BSS_END__; 38 } > ram 39 40 /DISCARD/ : 41 { 42 *(.ARM.exidx*) /* index entries for section unwinding */ 43 *(.ARM.extab*) /* exception unwinding information */ 44 } 45} 46