Linux Standard Base Core Specification for AMD64 3.0RC2


Table of Contents
Foreword
Introduction
I. Introductory Elements
1. Scope
1.1. General
1.2. Module Specific Scope
2. Normative References
3. Requirements
3.1. Relevant Libraries
3.2. LSB Implementation Conformance
3.3. LSB Application Conformance
4. Definitions
5. Terminology
6. Documentation Conventions
II. Low Level System Information
7. Machine Interface
7.1. Processor Architecture
7.2. Data Representation
8. Function Calling Sequence
8.1. Introduction
8.2. CPU Registers
8.3. Floating Point Registers
8.4. Stack Frame
8.5. Arguments
8.6. Return Values
9. Operating System Interface
9.1. Virtual Address Space
9.2. Processor Execution Mode
9.3. Exception Interface
9.4. Signal Delivery
10. Process Initialization
10.1. Special Registers
10.2. Process Stack (on entry)
10.3. Auxilliary Vectors
10.4. Environment
11. Coding Examples
11.1. Code Model Overview/Architecture Constraints
11.2. Position-Independent Function Prologue
11.3. Data Objects
11.4. Function Calls
11.5. Branching
12. C Stack Frame
12.1. Variable Argument List
12.2. Dynamic Allocation of Stack Space
13. Debug Information
III. Object Format
14. Introduction
15. ELF Header
15.1. Machine Information
16. Sections
16.1. Special Sections
16.2. Additional Special Sections
17. Symbol Table
18. Relocation
18.1. Relocation Types
IV. Program Loading and Dynamic Linking
19. Introduction
20. Program Header
20.1. Types
20.2. Flags
21. Program Loading
22. Dynamic Linking
22.1. Dynamic Section
22.2. Global Offset Table
22.3. Shared Object Dependencies
22.4. Function Addresses
22.5. Procedure Linkage Table
22.6. Initialization and Termination Functions
V. Base Libraries
23. Libraries
23.1. Program Interpreter/Dynamic Linker
23.2. Interfaces for libc
23.3. Data Definitions for libc
23.4. Interfaces for libm
23.5. Data Definitions for libm
23.6. Interfaces for libpthread
23.7. Interfaces for libgcc_s
23.8. Interface Definitions for libgcc_s
23.9. Interfaces for libdl
23.10. Interfaces for libcrypt
VI. Utility Libraries
24. Libraries
24.1. Interfaces for libz
24.2. Interfaces for libncurses
24.3. Interfaces for libutil
VII. Package Format and Installation
25. Software Installation
25.1. Package Dependencies
25.2. Package Architecture Considerations
A. Alphabetical Listing of Interfaces
A.1. libgcc_s
A.2. libm
B. GNU Free Documentation License
B.1. PREAMBLE
B.2. APPLICABILITY AND DEFINITIONS
B.3. VERBATIM COPYING
B.4. COPYING IN QUANTITY
B.5. MODIFICATIONS
B.6. COMBINING DOCUMENTS
B.7. COLLECTIONS OF DOCUMENTS
B.8. AGGREGATION WITH INDEPENDENT WORKS
B.9. TRANSLATION
B.10. TERMINATION
B.11. FUTURE REVISIONS OF THIS LICENSE
B.12. How to use this License for your documents
List of Tables
2-1. Normative References
3-1. Standard Library Names
16-1. ELF Special Sections
16-2. Additional Special Sections
23-1. libc Definition
23-2. libc - RPC Function Interfaces
23-3. libc - System Calls Function Interfaces
23-4. libc - Standard I/O Function Interfaces
23-5. libc - Standard I/O Data Interfaces
23-6. libc - Signal Handling Function Interfaces
23-7. libc - Signal Handling Data Interfaces
23-8. libc - Localization Functions Function Interfaces
23-9. libc - Localization Functions Data Interfaces
23-10. libc - Socket Interface Function Interfaces
23-11. libc - Wide Characters Function Interfaces
23-12. libc - String Functions Function Interfaces
23-13. libc - IPC Functions Function Interfaces
23-14. libc - Regular Expressions Function Interfaces
23-15. libc - Character Type Functions Function Interfaces
23-16. libc - Time Manipulation Function Interfaces
23-17. libc - Time Manipulation Data Interfaces
23-18. libc - Terminal Interface Functions Function Interfaces
23-19. libc - System Database Interface Function Interfaces
23-20. libc - Language Support Function Interfaces
23-21. libc - Large File Support Function Interfaces
23-22. libc - Standard Library Function Interfaces
23-23. libc - Standard Library Data Interfaces
23-24. libm Definition
23-25. libm - Math Function Interfaces
23-26. libm - Math Data Interfaces
23-27. libpthread Definition
23-28. libpthread - Realtime Threads Function Interfaces
23-29. libpthread - Posix Threads Function Interfaces
23-30. libgcc_s Definition
23-31. libgcc_s - Unwind Library Function Interfaces
23-32. libdl Definition
23-33. libdl - Dynamic Loader Function Interfaces
23-34. libcrypt Definition
23-35. libcrypt - Encryption Function Interfaces
24-1. libz Definition
24-2. libncurses Definition
24-3. libutil Definition
24-4. libutil - Utility Functions Function Interfaces
A-1. libgcc_s Function Interfaces
A-2. libm Function Interfaces