ELF Specification


Table of Contents
I. Low Level System Information
1. Machine Interface
1.1. Processor Architecture
1.2. Data Representation
1.3. Byte Ordering
1.4. Fundamental Types
1.5. Aggregates and Unions
1.6. Bit Fields
2. Function Calling Sequence
2.1. Registers
2.2. Stack Frame
2.3. Parameter Passing
2.4. Return Values
2.5. Function Descriptors
3. Traceback Tables
3.1. Mandatory Fields
3.2. Optional Fields
4. Process Initialization
4.1. Registers
4.2. Process Stack
5. Coding Examples
5.1. Code Model Overview
5.2. The TOC Section
5.3. TOC Assembly Language Syntax
5.4. Function Prologue and Epilogue
5.5. Register Saving and Restoring Functions
5.6. Saving General Registers Only
5.7. Saving General Registers and Floating Point Registers
5.8. Saving Floating Point Registers Only
5.9. Save and Restore Services
5.10. Data Objects
5.11. Function Calls
5.12. Branching
5.13. Dynamic Stack Space Allocation
II. Object Format
6. ELF Header
7. Special Sections
8. TOC
9. Symbol Table
9.1. Symbol Values
10. Relocation
10.1. Relocation Types
III. Program Loading and Dynamic Linking
11. Program Loading
12. Dynamic Linking
12.1. Dynamic Section
12.2. Global Offset Table
12.3. Function Addresses
12.4. Procedure Linkage Table
List of Tables
7-1. ELF Special Sections