ELF Specification

Table of Contents
I. Low Level System Information
1. Machine Interface
Processor Architecture
Data Representation
Byte Ordering
Fundamental Types
Aggregates and Unions
Bit Fields
2. Function Calling Sequence
Stack Frame
Parameter Passing
Return Values
Function Descriptors
3. Traceback Tables
Mandatory Fields
Optional Fields
4. Process Initialization
Process Stack
5. Coding Examples
Code Model Overview
The TOC Section
TOC Assembly Language Syntax
Function Prologue and Epilogue
Register Saving and Restoring Functions
Saving General Registers Only
Saving General Registers and Floating Point Registers
Saving Floating Point Registers Only
Save and Restore Services
Data Objects
Function Calls
Dynamic Stack Space Allocation
II. Object Format
6. ELF Header
7. Special Sections
8. TOC
9. Symbol Table
Symbol Values
10. Relocation
Relocation Types
III. Program Loading and Dynamic Linking
11. Program Loading
12. Dynamic Linking
Dynamic Section
Global Offset Table
Function Addresses
Procedure Linkage Table
List of Tables
7-1. ELF Special Sections