1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
|
Memory Configuration
Name Origin Length Attributes
ram 0x40000000 0x00004000
*default* 0x00000000 0xffffffff
Linker script and memory map
LOAD ./src/crt.o
LOAD ./src/main.o
START GROUP
LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2\libgcc.a
LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2/../../../../arm-elf/lib\libc.a
END GROUP
0x00000100 FIQ_STACK_SIZE = 0x100
0x00000100 IRQ_STACK_SIZE = 0x100
0x00000100 ABT_STACK_SIZE = 0x100
0x00000100 UND_STACK_SIZE = 0x100
0x00000400 SVC_STACK_SIZE = 0x400
.text 0x40000000 0x16c
*(.vectors)
.vectors 0x40000000 0x40 ./src/crt.o
0x40000040 . = ALIGN (0x4)
*(.init)
.init 0x40000040 0xc8 ./src/crt.o
0x400000e4 FIQHandler
0x400000d8 PAbortHandler
0x400000c0 ExitFunction
0x40000040 ResetHandler
0x400000dc DAbortHandler
0x400000e0 IRQHandler
0x400000d0 UndefHandler
0x40000108 . = ALIGN (0x4)
*(.text)
.text 0x40000108 0x0 ./src/crt.o
.text 0x40000108 0x60 ./src/main.o
0x40000108 main
0x40000168 . = ALIGN (0x4)
*(.rodata)
.rodata 0x40000168 0x4 ./src/main.o
0x4000016c . = ALIGN (0x4)
*(.rodata*)
0x4000016c . = ALIGN (0x4)
*(.glue_7t)
.glue_7t 0x4000016c 0x0 ./src/crt.o
.glue_7t 0x4000016c 0x0 ./src/main.o
0x4000016c . = ALIGN (0x4)
*(.glue_7)
.glue_7 0x4000016c 0x0 ./src/crt.o
.glue_7 0x4000016c 0x0 ./src/main.o
0x4000016c . = ALIGN (0x4)
0x4000016c etext = .
.vfp11_veneer 0x00000000 0x0
.vfp11_veneer 0x00000000 0x0 ./src/crt.o
.vfp11_veneer 0x00000000 0x0 ./src/main.o
.data 0x4000016c 0x0
0x4000016c PROVIDE (__data_start, .)
*(.data)
.data 0x4000016c 0x0 ./src/crt.o
.data 0x4000016c 0x0 ./src/main.o
0x4000016c . = ALIGN (0x4)
0x4000016c edata = .
0x4000016c _edata = .
0x4000016c PROVIDE (__data_end, .)
.bss 0x4000016c 0x894
0x4000016c PROVIDE (__bss_start, .)
*(.bss)
.bss 0x4000016c 0x0 ./src/crt.o
.bss 0x4000016c 0x0 ./src/main.o
*(COMMON)
0x4000016c . = ALIGN (0x4)
0x4000016c PROVIDE (__bss_end, .)
0x40000200 . = ALIGN (0x100)
*fill* 0x4000016c 0x94 00
0x40000200 PROVIDE (__stack_start, .)
0x40000200 PROVIDE (__stack_fiq_start, .)
0x40000300 . = (. + FIQ_STACK_SIZE)
*fill* 0x40000200 0x100 00
0x40000300 . = ALIGN (0x4)
0x40000300 PROVIDE (__stack_fiq_end, .)
0x40000300 PROVIDE (__stack_irq_start, .)
0x40000400 . = (. + IRQ_STACK_SIZE)
*fill* 0x40000300 0x100 00
0x40000400 . = ALIGN (0x4)
0x40000400 PROVIDE (__stack_irq_end, .)
0x40000400 PROVIDE (__stack_abt_start, .)
0x40000500 . = (. + ABT_STACK_SIZE)
*fill* 0x40000400 0x100 00
0x40000500 . = ALIGN (0x4)
0x40000500 PROVIDE (__stack_abt_end, .)
0x40000500 PROVIDE (__stack_und_start, .)
0x40000600 . = (. + UND_STACK_SIZE)
*fill* 0x40000500 0x100 00
0x40000600 . = ALIGN (0x4)
0x40000600 PROVIDE (__stack_und_end, .)
0x40000600 PROVIDE (__stack_svc_start, .)
0x40000a00 . = (. + SVC_STACK_SIZE)
*fill* 0x40000600 0x400 00
0x40000a00 . = ALIGN (0x4)
0x40000a00 PROVIDE (__stack_svc_end, .)
0x40000a00 PROVIDE (__stack_end, .)
0x40000a00 PROVIDE (__heap_start, .)
OUTPUT(test_ram.elf elf32-littlearm)
.ARM.attributes
0x00000000 0x10
.ARM.attributes
0x00000000 0x10 ./src/crt.o
.ARM.attributes
0x00000010 0x10 ./src/main.o
.debug_line 0x00000000 0xd1
.debug_line 0x00000000 0x7a ./src/crt.o
.debug_line 0x0000007a 0x57 ./src/main.o
.debug_info 0x00000000 0x202
.debug_info 0x00000000 0x74 ./src/crt.o
.debug_info 0x00000074 0x18e ./src/main.o
.debug_abbrev 0x00000000 0x76
.debug_abbrev 0x00000000 0x12 ./src/crt.o
.debug_abbrev 0x00000012 0x64 ./src/main.o
.debug_aranges 0x00000000 0x48
.debug_aranges
0x00000000 0x28 ./src/crt.o
.debug_aranges
0x00000028 0x20 ./src/main.o
.debug_ranges 0x00000000 0x20
.debug_ranges 0x00000000 0x20 ./src/crt.o
.debug_frame 0x00000000 0x24
.debug_frame 0x00000000 0x24 ./src/main.o
.debug_loc 0x00000000 0x1f
.debug_loc 0x00000000 0x1f ./src/main.o
.debug_pubnames
0x00000000 0x1b
.debug_pubnames
0x00000000 0x1b ./src/main.o
.comment 0x00000000 0x12
.comment 0x00000000 0x12 ./src/main.o
Cross Reference Table
Symbol File
DAbortHandler ./src/crt.o
ExitFunction ./src/crt.o
FIQHandler ./src/crt.o
IRQHandler ./src/crt.o
PAbortHandler ./src/crt.o
ResetHandler ./src/crt.o
UndefHandler ./src/crt.o
__bss_end ./src/crt.o
__bss_start ./src/crt.o
__stack_abt_end ./src/crt.o
__stack_fiq_end ./src/crt.o
__stack_irq_end ./src/crt.o
__stack_svc_end ./src/crt.o
__stack_und_end ./src/crt.o
main ./src/main.o
./src/crt.o
|