1 2OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") 3OUTPUT_ARCH(arm) 4ENTRY(_start) 5SECTIONS 6{ 7 . = 0x40700000; 8 __image_copy_start =.; 9 . = ALIGN(4); 10 .text : 11 { 12 __text_start = .; 13 start.o (.text*) 14 init_registers.o (.text*) 15 lowlevel_init_v300.o (.text*) 16 ddr_training_impl.o (.text*) 17 ddr_training_console.o (.text*) 18 ddr_training_ctl.o (.text*) 19 ddr_training_boot.o (.text*) 20 ddr_training_custom.o (.text*) 21 uart.o (.text*) 22 image_data.o (.text*) 23 startup.o(.text*) 24 reset.o(.text*) 25 __init_end = .; 26 ASSERT(((__init_end - __text_start) < 0x6000), "init sections too big!"); 27 *(.text*) 28 } 29 __text_end = .; 30 31 . = ALIGN(4); 32 .image : { *(.image) } 33 34 . = ALIGN(4); 35 .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) } 36 37 . = ALIGN(4); 38 .data : { *(.data) } 39 40 . = ALIGN(4); 41 .got : { *(.got) } 42 43 . = ALIGN(4); 44 __image_copy_end =.; 45 __bss_start = .; 46 .bss : { *(.bss) } 47 __bss_end = .; 48 _end = .; 49} 50