7.5. Coding Examples

7.5.1. Introduction

LSB-conforming applications may follow the coding examples provdied in chapter 3 of the System V ABI, IA32 Supplement in order to implement certain fundamental operations.

7.5.2. Code Model Overview/Architecture Constraints

Chapter 3 of the System V ABI, IA32 Supplement provides an overview of the code model.

7.5.3. Position-Independent Function Prologue

LSB-conforming applications using position independent functions may use the techniques described in Chapter 3 of the System V ABI, IA32 Supplement.

7.5.4. Data Objects

LSB-conforming applications accessing non-stack resident data objects may do so as described in Chapter 3 of the System V ABI, IA32 Supplement, including both absolute and position independent data access techniques.

7.5.5. Function Calls

7.5.5.1. Absolute Direct Function Call

LSB-conforming applications using direct function calls with absolute addressing may follow the examples given in Chapter 3 of the System V ABI, IA32 Supplement.

7.5.5.2. Absolute Indirect Function Call

LSB-conforming applications using indirect function calls with absolute addressing may follow the examples given in Chapter 3 of the System V ABI, IA32 Supplement.

7.5.5.3. Position-Independent Direct Function Call

LSB-conforming applications using direct function calls with position independent addressing may follow the examples given in Chapter 3 of the System V ABI, IA32 Supplement.

7.5.5.4. Position-Independent Indirect Function Call

LSB-conforming applications using indirect function calls with position independent addressing may follow the examples given in Chapter 3 of the System V ABI, IA32 Supplement.

7.5.6. Branching

LSB-conforming applications may follow the branching examples given in Chapter 3 of the System V ABI, IA32 Supplement.