Assigning Symbols at Link Time
7-60
7.14.4 Symbols Defined by the Linker
The linker automatically defines several symbols that a program can use at
runtime to determine where a section is linked. These symbols are external,
so they appear in the link map. They can be accessed in any assembly
language module if they are declared with a .global directive. Values are
assigned to these symbols as follows:
.text
is assigned the first address of the .text output section.
(It marks the
beginning of executable code.)
etext
is assigned the first address following the .text output section.
(It marks the
end of executable code.)
.data
is assigned the first address of the .data output section.
(It marks the
beginning of initialized data tables.)
edata
is assigned the first address following the .data output section.
(It marks the
end of initialized data tables.)
.bss
is assigned the first address of the .bss output section.
(It marks the
beginning of uninitialized data.)
end
is assigned the first address following the .bss output section.
(It marks the
end of uninitialized data.)
7.14.5 Symbols Defined Only For C Support (–c or –cr Option)
_ _STACK_SIZE
is assigned the size of the .stack section.
_ _SYSMEM_SIZE
is assigned the size of the .sysmem section.
Содержание TMS320C54x
Страница 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: ......
Страница 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: ......