Running Title—Attribute Reference
A-1
Chapter Title—Attribute Reference
Appendix A
Common Object File Format
The compiler, assembler, and linker create object files in common object file
format (COFF). COFF is an implementation of an object file format of the same
name that was developed by AT&T for use on UNIX-based systems. This for-
mat is used because it encourages modular programming and provides more
powerful and flexible methods for managing code segments and target system
memory.
Sections are a basic COFF concept. Chapter 2,
Introduction to Common Object File Format, discusses COFF sections in de-
tail. If you understand section operation, you will be able to use the assembly
language tools more efficiently.
This appendix contains technical details about COFF object file structure.
Much of this information pertains to the symbolic debugging information that
is produced by the C compiler. The purpose of this appendix is to provide sup-
plementary information about the internal format of COFF object files.
Topic
Page
A.1
COFF File Structure
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.2
File Header Structure
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.3
Optional File Header Format
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.4
Section Header Structure
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.5
Structuring Relocation Information
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.6
Line-Number Table Structure
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.7
Symbol Table Structure and Content
. . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix A
Summary of Contents for TMS320C54x
Page 38: ......
Page 39: ......
Page 40: ......
Page 41: ......
Page 42: ......
Page 43: ......
Page 44: ......
Page 45: ......
Page 46: ......
Page 47: ......
Page 48: ......
Page 49: ......
Page 50: ......
Page 51: ......
Page 52: ......
Page 53: ......
Page 54: ......
Page 55: ......
Page 56: ......
Page 57: ......
Page 58: ......
Page 59: ......
Page 60: ......
Page 61: ......
Page 62: ......
Page 276: ......
Page 277: ......
Page 278: ......
Page 279: ......
Page 280: ......
Page 281: ......
Page 282: ......
Page 283: ......
Page 284: ......
Page 285: ......
Page 286: ......
Page 287: ......
Page 288: ......
Page 289: ......
Page 290: ......
Page 291: ......
Page 292: ......
Page 293: ......
Page 294: ......
Page 295: ......
Page 296: ......
Page 297: ......
Page 298: ......
Page 299: ......
Page 300: ......
Page 301: ......
Page 302: ......