-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootloader.map
More file actions
482 lines (409 loc) · 15 KB
/
bootloader.map
File metadata and controls
482 lines (409 loc) · 15 KB
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
Archive member included to satisfy reference by file (symbol)
/usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_exit.o)
/usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/crtatmega328p.o (exit)
/usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_clear_bss.o)
comm.o (__do_clear_bss)
/usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/libatmega328p.a(eerd_byte.o)
main.o (eeprom_read_byte)
/usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/libatmega328p.a(eeupd_byte.o)
main.o (eeprom_update_byte)
Allocating common symbols
Common symbol size file
msgCRC 0x2 comm.o
pageData 0x80 comm.o
nextPageNumber 0x1 comm.o
Discarded input sections
.data 0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/crtatmega328p.o
.bss 0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/crtatmega328p.o
.text 0x00000000 0x0 comm.o
.data 0x00000000 0x0 comm.o
.bss 0x00000000 0x0 comm.o
.text 0x00000000 0x0 main.o
.data 0x00000000 0x0 main.o
.bss 0x00000000 0x0 main.o
.text 0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_exit.o)
.data 0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_exit.o)
.bss 0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_exit.o)
.text.libgcc.mul
0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_exit.o)
.text.libgcc.div
0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_exit.o)
.text.libgcc 0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_exit.o)
.text.libgcc.prologue
0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_exit.o)
.text.libgcc.builtins
0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_exit.o)
.text.libgcc.fmul
0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_exit.o)
.text.libgcc.fixed
0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_exit.o)
.text 0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_clear_bss.o)
.data 0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_clear_bss.o)
.bss 0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_clear_bss.o)
.text.libgcc.mul
0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_clear_bss.o)
.text.libgcc.div
0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_clear_bss.o)
.text.libgcc 0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_clear_bss.o)
.text.libgcc.prologue
0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_clear_bss.o)
.text.libgcc.builtins
0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_clear_bss.o)
.text.libgcc.fmul
0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_clear_bss.o)
.text.libgcc.fixed
0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_clear_bss.o)
.text 0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/libatmega328p.a(eerd_byte.o)
.data 0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/libatmega328p.a(eerd_byte.o)
.bss 0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/libatmega328p.a(eerd_byte.o)
.text 0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/libatmega328p.a(eeupd_byte.o)
.data 0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/libatmega328p.a(eeupd_byte.o)
.bss 0x00000000 0x0 /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/libatmega328p.a(eeupd_byte.o)
Memory Configuration
Name Origin Length Attributes
text 0x00000000 0x00020000 xr
data 0x00800060 0x0000ffa0 rw !x
eeprom 0x00810000 0x00010000 rw !x
fuse 0x00820000 0x00000400 rw !x
lock 0x00830000 0x00000400 rw !x
signature 0x00840000 0x00000400 rw !x
user_signatures 0x00850000 0x00000400 rw !x
*default* 0x00000000 0xffffffff
Linker script and memory map
Address of section .data set to 0x800100
LOAD /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/crtatmega328p.o
Address of section .text set to 0x7c00
LOAD comm.o
LOAD main.o
START GROUP
LOAD /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a
LOAD /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/libm.a
LOAD /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/libc.a
LOAD /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/libatmega328p.a
END GROUP
0x00020000 __TEXT_REGION_LENGTH__ = DEFINED (__TEXT_REGION_LENGTH__)?__TEXT_REGION_LENGTH__:0x20000
0x0000ffa0 __DATA_REGION_LENGTH__ = DEFINED (__DATA_REGION_LENGTH__)?__DATA_REGION_LENGTH__:0xffa0
0x00010000 __EEPROM_REGION_LENGTH__ = DEFINED (__EEPROM_REGION_LENGTH__)?__EEPROM_REGION_LENGTH__:0x10000
0x00000400 __FUSE_REGION_LENGTH__ = DEFINED (__FUSE_REGION_LENGTH__)?__FUSE_REGION_LENGTH__:0x400
0x00000400 __LOCK_REGION_LENGTH__ = DEFINED (__LOCK_REGION_LENGTH__)?__LOCK_REGION_LENGTH__:0x400
0x00000400 __SIGNATURE_REGION_LENGTH__ = DEFINED (__SIGNATURE_REGION_LENGTH__)?__SIGNATURE_REGION_LENGTH__:0x400
0x00000400 __USER_SIGNATURE_REGION_LENGTH__ = DEFINED (__USER_SIGNATURE_REGION_LENGTH__)?__USER_SIGNATURE_REGION_LENGTH__:0x400
.hash
*(.hash)
.dynsym
*(.dynsym)
.dynstr
*(.dynstr)
.gnu.version
*(.gnu.version)
.gnu.version_d
*(.gnu.version_d)
.gnu.version_r
*(.gnu.version_r)
.rel.init
*(.rel.init)
.rela.init
*(.rela.init)
.rel.text
*(.rel.text)
*(.rel.text.*)
*(.rel.gnu.linkonce.t*)
.rela.text
*(.rela.text)
*(.rela.text.*)
*(.rela.gnu.linkonce.t*)
.rel.fini
*(.rel.fini)
.rela.fini
*(.rela.fini)
.rel.rodata
*(.rel.rodata)
*(.rel.rodata.*)
*(.rel.gnu.linkonce.r*)
.rela.rodata
*(.rela.rodata)
*(.rela.rodata.*)
*(.rela.gnu.linkonce.r*)
.rel.data
*(.rel.data)
*(.rel.data.*)
*(.rel.gnu.linkonce.d*)
.rela.data
*(.rela.data)
*(.rela.data.*)
*(.rela.gnu.linkonce.d*)
.rel.ctors
*(.rel.ctors)
.rela.ctors
*(.rela.ctors)
.rel.dtors
*(.rel.dtors)
.rela.dtors
*(.rela.dtors)
.rel.got
*(.rel.got)
.rela.got
*(.rela.got)
.rel.bss
*(.rel.bss)
.rela.bss
*(.rela.bss)
.rel.plt
*(.rel.plt)
.rela.plt
*(.rela.plt)
.text 0x00007c00 0x382
*(.vectors)
.vectors 0x00007c00 0x68 /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/crtatmega328p.o
0x00007c00 __vectors
0x00007c00 __vector_default
*(.vectors)
*(.progmem.gcc*)
0x00007c68 . = ALIGN (0x2)
0x00007c68 __trampolines_start = .
*(.trampolines)
.trampolines 0x00007c68 0x0 linker stubs
*(.trampolines*)
0x00007c68 __trampolines_end = .
*libprintf_flt.a:*(.progmem.data)
*libc.a:*(.progmem.data)
*(.progmem*)
0x00007c68 . = ALIGN (0x2)
*(.jumptables)
*(.jumptables*)
*(.lowtext)
*(.lowtext*)
0x00007c68 __ctors_start = .
*(.ctors)
0x00007c68 __ctors_end = .
0x00007c68 __dtors_start = .
*(.dtors)
0x00007c68 __dtors_end = .
SORT(*)(.ctors)
SORT(*)(.dtors)
*(.init0)
.init0 0x00007c68 0x0 /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/crtatmega328p.o
0x00007c68 __init
*(.init0)
*(.init1)
*(.init1)
*(.init2)
.init2 0x00007c68 0xc /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/crtatmega328p.o
*(.init2)
*(.init3)
*(.init3)
*(.init4)
.init4 0x00007c74 0x10 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_clear_bss.o)
0x00007c74 __do_clear_bss
*(.init4)
*(.init5)
*(.init5)
*(.init6)
*(.init6)
*(.init7)
*(.init7)
*(.init8)
*(.init8)
*(.init9)
.init9 0x00007c84 0x4 /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/crtatmega328p.o
*(.init9)
*(.text)
.text 0x00007c88 0x2 /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/crtatmega328p.o
0x00007c88 __vector_22
0x00007c88 __vector_1
0x00007c88 __vector_24
0x00007c88 __vector_12
0x00007c88 __bad_interrupt
0x00007c88 __vector_6
0x00007c88 __vector_3
0x00007c88 __vector_23
0x00007c88 __vector_25
0x00007c88 __vector_11
0x00007c88 __vector_13
0x00007c88 __vector_17
0x00007c88 __vector_19
0x00007c88 __vector_7
0x00007c88 __vector_5
0x00007c88 __vector_4
0x00007c88 __vector_9
0x00007c88 __vector_2
0x00007c88 __vector_21
0x00007c88 __vector_15
0x00007c88 __vector_8
0x00007c88 __vector_14
0x00007c88 __vector_10
0x00007c88 __vector_16
0x00007c88 __vector_18
0x00007c88 __vector_20
0x00007c8a . = ALIGN (0x2)
*(.text.*)
.text.commReceiveWithCRC
0x00007c8a 0x4c comm.o
.text.flash 0x00007cd6 0x2a comm.o
0x00007cd6 flash
.text.watchSerial
0x00007d00 0x132 comm.o
0x00007d00 watchSerial
.text.startup.main
0x00007e32 0x118 main.o
0x00007e32 main
.text.avr-libc
0x00007f4a 0x10 /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/libatmega328p.a(eerd_byte.o)
0x00007f4a eeprom_read_byte
.text.avr-libc
0x00007f5a 0x24 /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/libatmega328p.a(eeupd_byte.o)
0x00007f5a eeprom_update_byte
0x00007f5c eeprom_update_r18
0x00007f7e . = ALIGN (0x2)
*(.fini9)
.fini9 0x00007f7e 0x0 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_exit.o)
0x00007f7e exit
0x00007f7e _exit
*(.fini9)
*(.fini8)
*(.fini8)
*(.fini7)
*(.fini7)
*(.fini6)
*(.fini6)
*(.fini5)
*(.fini5)
*(.fini4)
*(.fini4)
*(.fini3)
*(.fini3)
*(.fini2)
*(.fini2)
*(.fini1)
*(.fini1)
*(.fini0)
.fini0 0x00007f7e 0x4 /usr/lib/gcc/avr/4.9.2/avr5/libgcc.a(_exit.o)
*(.fini0)
0x00007f82 _etext = .
.data 0x00800100 0x0 load address 0x00007f82
[!provide] PROVIDE (__data_start, .)
*(.data)
*(.data*)
*(.rodata)
*(.rodata*)
*(.gnu.linkonce.d*)
0x00800100 . = ALIGN (0x2)
0x00800100 _edata = .
[!provide] PROVIDE (__data_end, .)
.bss 0x00800100 0x8a
0x00800100 PROVIDE (__bss_start, .)
*(.bss)
*(.bss*)
.bss.upcomingPage
0x00800100 0x1 comm.o
0x00800100 upcomingPage
.bss.msgLen 0x00800101 0x1 comm.o
0x00800101 msgLen
.bss.msgType 0x00800102 0x1 comm.o
0x00800102 msgType
.bss.readyForPages
0x00800103 0x1 comm.o
0x00800103 readyForPages
.bss.pageAddress
0x00800104 0x2 main.o
0x00800104 pageAddress
.bss.numPagesWritten
0x00800106 0x1 main.o
0x00800106 numPagesWritten
*(COMMON)
COMMON 0x00800107 0x83 comm.o
0x00800107 msgCRC
0x00800109 pageData
0x00800189 nextPageNumber
0x0080018a PROVIDE (__bss_end, .)
0x00007f82 __data_load_start = LOADADDR (.data)
0x00007f82 __data_load_end = (__data_load_start + SIZEOF (.data))
.noinit 0x0080018a 0x0
[!provide] PROVIDE (__noinit_start, .)
*(.noinit*)
[!provide] PROVIDE (__noinit_end, .)
0x0080018a _end = .
[!provide] PROVIDE (__heap_start, .)
.eeprom 0x00810000 0x0
*(.eeprom*)
0x00810000 __eeprom_end = .
.fuse
*(.fuse)
*(.lfuse)
*(.hfuse)
*(.efuse)
.lock
*(.lock*)
.signature
*(.signature*)
.user_signatures
*(.user_signatures*)
.stab 0x00000000 0xe64
*(.stab)
.stab 0x00000000 0x90c comm.o
.stab 0x0000090c 0x558 main.o
0x75c (size before relaxing)
.stabstr 0x00000000 0xdc8
*(.stabstr)
.stabstr 0x00000000 0xdc8 comm.o
.stab.excl
*(.stab.excl)
.stab.exclstr
*(.stab.exclstr)
.stab.index
*(.stab.index)
.stab.indexstr
*(.stab.indexstr)
.comment 0x00000000 0x11
*(.comment)
.comment 0x00000000 0x11 comm.o
0x12 (size before relaxing)
.comment 0x00000011 0x12 main.o
.note.gnu.avr.deviceinfo
0x00000000 0x40
.note.gnu.avr.deviceinfo
0x00000000 0x40 /usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/crtatmega328p.o
.note.gnu.build-id
*(.note.gnu.build-id)
.debug
*(.debug)
.line
*(.line)
.debug_srcinfo
*(.debug_srcinfo)
.debug_sfnames
*(.debug_sfnames)
.debug_aranges
*(.debug_aranges)
.debug_pubnames
*(.debug_pubnames)
.debug_info
*(.debug_info .gnu.linkonce.wi.*)
.debug_abbrev
*(.debug_abbrev)
.debug_line
*(.debug_line .debug_line.* .debug_line_end)
.debug_frame
*(.debug_frame)
.debug_str
*(.debug_str)
.debug_loc
*(.debug_loc)
.debug_macinfo
*(.debug_macinfo)
.debug_weaknames
*(.debug_weaknames)
.debug_funcnames
*(.debug_funcnames)
.debug_typenames
*(.debug_typenames)
.debug_varnames
*(.debug_varnames)
.debug_pubtypes
*(.debug_pubtypes)
.debug_ranges
*(.debug_ranges)
.debug_macro
*(.debug_macro)
OUTPUT(bootloader.elf elf32-avr)
LOAD linker stubs