Directives That Define Sections
4-8
4.3
Directives That Define Sections
These directives associate portions of an assembly language program with
the appropriate sections:
-
.bss reserves space in the .bss section for uninitialized variables.
-
.clink sets the STYP_CLINK flag in the type field for the named section.
The .clink directive can be applied to initialized or uninitialized sections.
The STYP_CLINK flag enables conditional linking by telling the linker to
leave the section out of the final COFF output of the linker if there are no
references found to any symbol in the section.
-
.data identifies portions of code in the .data section. The .data section
usually contains initialized data.
-
.sect defines initialized named sections and associates subsequent code
or data with that section. A section defined with .sect can contain code or
data.
-
.text identifies portions of code in the .text section. The .text section
usually contains executable code.
-
.usect reserves space in an uninitialized named section. The .usect
directive is similar to the .bss directive, but it allows you to reserve space
separately from the .bss section.
Chapter 2,
Introduction to Common Object File Format, discusses COFF
sections in detail.
Содержание 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: ......