1OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") 2OUTPUT_ARCH(arm) 3ENTRY(_start) 4SECTIONS 5{ 6 . = 0x80000000; 7 8 . = ALIGN(4); 9 .text : 10 { 11 *(.init) 12 *(.text) 13 *(.gnu.linkonce.t*) 14 15 /* section information for finsh shell */ 16 . = ALIGN(4); 17 __fsymtab_start = .; 18 KEEP(*(FSymTab)) 19 __fsymtab_end = .; 20 . = ALIGN(4); 21 __vsymtab_start = .; 22 KEEP(*(VSymTab)) 23 __vsymtab_end = .; 24 . = ALIGN(4); 25 26 /* section information for modules */ 27 . = ALIGN(4); 28 __rtmsymtab_start = .; 29 KEEP(*(RTMSymTab)) 30 __rtmsymtab_end = .; 31 . = ALIGN(4); 32 33 /* section information for initial. */ 34 . = ALIGN(4); 35 __rt_init_start = .; 36 KEEP(*(SORT(.rti_fn*))) 37 __rt_init_end = .; 38 . = ALIGN(4); 39 } 40 41 . = ALIGN(4); 42 .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r*) *(.eh_frame) } 43 44 . = ALIGN(4); 45 .ctors : 46 { 47 PROVIDE(__ctors_start__ = .); 48 KEEP(*(SORT(.ctors.*))) 49 KEEP(*(.ctors)) 50 PROVIDE(__ctors_end__ = .); 51 } 52 53 .dtors : 54 { 55 PROVIDE(__dtors_start__ = .); 56 KEEP(*(SORT(.dtors.*))) 57 KEEP(*(.dtors)) 58 PROVIDE(__dtors_end__ = .); 59 } 60 61 . = ALIGN(4); 62 .data : 63 { 64 *(.data) 65 *(.data.*) 66 *(.gnu.linkonce.d*) 67 } 68 69 . = ALIGN(4); 70 .nobss : { *(.nobss) } 71 72 73 . = ALIGN(4); 74 __bss_start = .; 75 .bss : { *(.bss) } 76 __bss_end = .; 77 78 /* stabs debugging sections. */ 79 .stab 0 : { *(.stab) } 80 .stabstr 0 : { *(.stabstr) } 81 .stab.excl 0 : { *(.stab.excl) } 82 .stab.exclstr 0 : { *(.stab.exclstr) } 83 .stab.index 0 : { *(.stab.index) } 84 .stab.indexstr 0 : { *(.stab.indexstr) } 85 .comment 0 : { *(.comment) } 86 .debug_abbrev 0 : { *(.debug_abbrev) } 87 .debug_info 0 : { *(.debug_info) } 88 .debug_line 0 : { *(.debug_line) } 89 .debug_pubnames 0 : { *(.debug_pubnames) } 90 .debug_aranges 0 : { *(.debug_aranges) } 91 92 _end = .; 93} 94