1OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
2OUTPUT_ARCH(arm)
3ENTRY(system_vectors)
4SECTIONS
5{
6    . = 0x70000000;
7
8    . = ALIGN(4);
9    .text :
10    {
11        *(.vectors)
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        . = ALIGN(4);
27        __rt_init_start = .;
28        KEEP(*(SORT(.rti_fn*)))
29        __rt_init_end = .;
30        . = ALIGN(4);
31
32        /* section information for modules */
33        . = ALIGN(4);
34        __rtmsymtab_start = .;
35        KEEP(*(RTMSymTab))
36        __rtmsymtab_end = .;
37        . = ALIGN(4);
38
39        /* section information for initial. */
40        . = ALIGN(4);
41        __rt_init_start = .;
42        KEEP(*(SORT(.rti_fn*)))
43        __rt_init_end = .;
44        . = ALIGN(4);
45    }
46
47    . = ALIGN(4);
48    .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r*) *(.eh_frame) }
49
50    . = ALIGN(4);
51    .ctors :
52    {
53        PROVIDE(__ctors_start__ = .);
54        KEEP(*(SORT(.ctors.*)))
55        KEEP(*(.ctors))
56        PROVIDE(__ctors_end__ = .);
57    }
58
59    .dtors :
60    {
61        PROVIDE(__dtors_start__ = .);
62        KEEP(*(SORT(.dtors.*)))
63        KEEP(*(.dtors))
64        PROVIDE(__dtors_end__ = .);
65    }
66
67    . = ALIGN(4);
68    .data :
69    {
70        *(.data)
71        *(.data.*)
72        *(.gnu.linkonce.d*)
73    }
74
75    . = ALIGN(4);
76    .nobss : { *(.nobss) }
77
78    . = ALIGN(4);
79    __bss_start = .;
80    .bss : { *(.bss)}
81    __bss_end = .;
82
83    /* stabs debugging sections. */
84    .stab 0 : { *(.stab) }
85    .stabstr 0 : { *(.stabstr) }
86    .stab.excl 0 : { *(.stab.excl) }
87    .stab.exclstr 0 : { *(.stab.exclstr) }
88    .stab.index 0 : { *(.stab.index) }
89    .stab.indexstr 0 : { *(.stab.indexstr) }
90    .comment 0 : { *(.comment) }
91    .debug_abbrev 0 : { *(.debug_abbrev) }
92    .debug_info 0 : { *(.debug_info) }
93    .debug_line 0 : { *(.debug_line) }
94    .debug_pubnames 0 : { *(.debug_pubnames) }
95    .debug_aranges 0 : { *(.debug_aranges) }
96
97    _end = .;
98}
99