Linux Standard Base Specification for the z/Architecture 1.3.0

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

Portions of the text were taken from other copyrighted documents in accordance with the respective licenses of those documents.

Linux is a trademark of Linus Torvalds.

UNIX a registered trademark of the Open Group in the United States and other countries.

LSB is a trademark of the Free Standards Group in the USA and other countries.

AMD is a trademark of Advanced Micro Devices, Inc.

Intel386 and Itanium are trademarks of Intel Corporation.

OpenGL is a registered trademark of Silicon Graphics, Inc.


Table of Contents
I. Introduction
1. Introduction
Introduction
Purpose
Related Standards
Relevant Libraries
How to Use this Standard
Definitions
Terminology
II. Low Level System Information
2. Machine Interface
Processor Architecture
Data Representation
3. Function Calling Sequence
Registers
The Stack Frame
Parameter Passing
Variable Argument Lists
Return Values
4. Operating System Interface
Virtual Address Space
Page Size
Virtual Address Assignments
Managing the Process Stack
Coding Guidlines
Processor Execution Mode
Exception Interface
Signal Delivery
5. Process Initialization
Registers
Process Stack
6. Coding Examples
Code Model Overview
Function Prolog and Epilog
Profiling
Data Objects
Function Calls
Branching
Dynamic Stack Space Allocation
7. Debug Information
III. Object Format
8. ELF Header
Machine Information
9. Sections
Special Sections
Linux Special Sections
10. Symbol Table
11. Relocation
Relocation Types
IV. Program Loading and Dynamic Linking
12. Program Loading
13. Dynamic Linking
Program Interpreter/Dynamic Linker
Dynamic Section
Global Offset Table
Function Addresses
Procedure Linkage Table
V. Base Libraries
14. Libraries
Interfaces for libc
Data Definitions for libc
Interfaces for libm
Data Definitions for libm
Interfaces for libpthread
Data Definitions for libpthread
Interfaces for libdl
Data Definitions for libdl
Interfaces for libcrypt
Data Definitions for libcrypt
A. Alphabetical Listing of Interfaces
B. GNU Free Documentation License
PREAMBLE
APPLICABILITY AND DEFINITIONS
VERBATIM COPYING
COPYING IN QUANTITY
MODIFICATIONS
COMBINING DOCUMENTS
COLLECTIONS OF DOCUMENTS
AGGREGATION WITH INDEPENDENT WORKS
TRANSLATION
TERMINATION
FUTURE REVISIONS OF THIS LICENSE
How to use this License for your documents
List of Tables
1-1. Related Standards
1-2. Standard Library Names
9-1. ELF Special Sections
9-2. Additional Special Sections
14-1. libc Definition
14-2. libc - RPC Function Interfaces
14-3. libc - System Calls Function Interfaces
14-4. libc - Standard I/O Function Interfaces
14-5. libc - Standard I/O Data Interfaces
14-6. libc - Signal Handling Function Interfaces
14-7. libc - Signal Handling Data Interfaces
14-8. libc - Localization Functions Function Interfaces
14-9. libc - Localization Functions Data Interfaces
14-10. libc - Socket Interface Function Interfaces
14-11. libc - Wide Characters Function Interfaces
14-12. libc - String Functions Function Interfaces
14-13. libc - IPC Functions Function Interfaces
14-14. libc - Regular Expressions Function Interfaces
14-15. libc - Regular Expressions Data Interfaces
14-16. libc - Character Type Functions Function Interfaces
14-17. libc - Character Type Functions Data Interfaces
14-18. libc - Time Manipulation Function Interfaces
14-19. libc - Time Manipulation Data Interfaces
14-20. libc - Terminal Interface Functions Function Interfaces
14-21. libc - System Database Interface Function Interfaces
14-22. libc - Language Support Function Interfaces
14-23. libc - Large File Support Function Interfaces
14-24. libc - Standard Library Function Interfaces
14-25. libc - Standard Library Data Interfaces
14-26. libm Definition
14-27. libm - Math Function Interfaces
14-28. libm - Math Data Interfaces
14-29. libpthread Definition
14-30. libpthread - Posix Threads Function Interfaces
14-31. libdl Definition
14-32. libdl - Dynamic Loader Function Interfaces
14-33. libcrypt Definition
14-34. libcrypt - Encryption Function Interfaces