i
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
Table of Contents
1.1. Introduction .......................................................................................................... 5
1.2. Command Line Wildcard Expansion .................................................................... 6
1.3. Environment Variables ......................................................................................... 7
1.4. Object File Format................................................................................................ 8
1.4.1. Definitions and Conventions................................................................................. 10
1.4.1.1. Sections ................................................................................................... 10
1.4.1.2. Physical and Virtual Addresses ............................................................... 10
1.4.1.3. C Language COFF File Structures .......................................................... 10
1.4.2. File Header ........................................................................................................... 11
1.4.2.1. Magic Number ......................................................................................... 11
1.4.2.2. Optional Header Size .............................................................................. 11
1.4.2.3. Flags ........................................................................................................ 12
1.4.3. Optional Header ................................................................................................... 12
1.4.4. Section Headers ................................................................................................... 13
1.4.5. Relocation Information.......................................................................................... 14
1.4.5.1. Relocation................................................................................................ 15
1.4.5.2. Complex Relocation ................................................................................ 16
1.4.6. Line Number Information ...................................................................................... 17
1.4.7. Symbol Table........................................................................................................ 18
1.4.7.1. Special Symbols ...................................................................................... 19
1.4.7.2. Inner Blocks ............................................................................................. 20
1.4.7.3. Symbols and Functions ........................................................................... 21
1.4.8. Symbol Table Entries ........................................................................................... 21
1.4.8.1. Symbol Names ........................................................................................ 22
1.4.8.2. Storage Class .......................................................................................... 22
1.4.8.4. Symbol Value Field.................................................................................. 25
1.4.8.5. Section Number Field .............................................................................. 26
1.4.8.6. Section Numbers and Storage Classes................................................... 27
1.4.8.7. Type Entry ............................................................................................... 28