Coff File Structure - Texas Instruments TMS320C54x User Manual

Digital signal processors
Hide thumbs Also See for TMS320C54x:
Table of Contents

Advertisement

COFF File Structure

A.1 COFF File Structure
A.1.1 Overall Object File Structure
Figure A–1. COFF File Structure
A-2
The elements of a COFF object file describe the file's sections and symbolic
debugging information. These elements are:
-
A file header
-
Optional header information
-
A table of section headers
-
Raw data for each initialized section
-
Relocation information for each initialized section
-
Line-number entries for each initialized section
-
A symbol table
-
A string table
The assembler and linker produce object files with the same COFF structure;
however, a program that is linked for the final time does not usually contain
relocation entries. Figure A–1 illustrates the overall object file structure.
file header
optional file header
section 1 header
section n header
section 1
raw data
section n
raw data
section 1
relocation information
section n
relocation information
section 1
line numbers
section n
line numbers
symbol table
string table
section headers
raw data
(executable code
and initialized data)
relocation
information
line-number
entries

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C54x and is the answer not in the manual?

Table of Contents