Getting Started With the Assembler and Linker
Example 5±6. Linker Map File (linker2.map) Linked Using a Linker Command File
*****************************************************
TMS470 COFF Linker Version 1.20
*****************************************************
Sat Feb 8 15:36:45 1997
OUTPUT FILE NAME: <prog.out>
ENTRY POINT SYMBOL: 0
MEMORY CONFIGURATION |
|
|
|
| ||
| name | origin | length | used | attributes | fill |
| ±±±±±±±± ±±±±±±±± | ±±±±±±±±± | ±±±±±±±± | ±±±±±±±±±± | ±±±±±±±± | |
| D_MEM | 00000000 | 000001000 | 00000000 | RWIX |
|
| P_MEM | 00001000 | 000001000 | 0000001c | RWIX |
|
SECTION ALLOCATION MAP |
|
|
|
| ||
output |
|
|
| attributes/ |
| |
section | page | origin | length | input sections |
| |
±±±±±±±± | ±±±± | ±±±±±±±±±± | ±±±±±±±±±± | ±±±±±±±±±±±±±±±± |
| |
.data | 0 | 00000000 | 00000000 | UNINITIALIZED |
| |
|
| 00000000 | 00000000 | file2.obj (.data) |
| |
|
| 00000000 | 00000000 | file1.obj (.data) |
| |
.text | 0 | 00001000 | 0000001c |
|
|
|
|
| 00001000 | 00000010 | file1.obj (.text) |
| |
|
| 00001010 | 0000000c | file2.obj (.text) |
| |
.bss | 0 | 00000000 | 00000000 | UNINITIALIZED |
| |
|
| 00000000 | 00000000 | file2.obj (.bss) |
| |
|
| 00000000 | 00000000 | file1.obj (.bss) |
| |
GLOBAL SYMBOLS |
|
|
|
|
| |
address | name |
|
| address | name |
|
±±±±±±±± ±±±± |
|
| ±±±±±±±± ±±±± |
| ||
00000000 | .bss |
|
| 00000000 | edata |
|
00000000 | .data |
|
| 00000000 | .bss |
|
00001000 | .text |
|
| 00000000 | end |
|
00000000 | edata |
|
| 00000000 | .data |
|
00000000 | end |
|
| 00001000 | .text |
|
0000101c | etext |
|
| 00001010 | inclw |
|
00001010 | inclw |
|
| 0000101c | etext |
|
[7 symbols]