Red Hat Enterprise Linux 4

Using ld, the Gnu Linker

Legal Notice
Table of Contents
1. Using ld
2. Overview
3. Invocation
3.1. Command Line Options
3.1.1. Options Specific to i386 PE Targets
3.2. Environment Variables
4. Linker Scripts
4.1. Basic Linker Script Concepts
4.2. Linker Script Format
4.3. Simple Linker Script Example
4.4. Simple Linker Script Commands
4.4.1. Setting the Entry Point
4.4.2. Commands Dealing with Files
4.4.3. Commands Dealing with Object File Formats
4.4.4. Other Linker Script Commands
4.5. Assigning Values to Symbols
4.5.1. Simple Assignments
4.5.2. PROVIDE
4.6. SECTIONS Command
4.6.1. Output Section Description
4.6.2. Output Section Name
4.6.3. Output Section Description
4.6.4. Input Section Description
4.6.5. Output Section Data
4.6.6. Output Section Keywords
4.6.7. Output Section Discarding
4.6.8. Output Section Attributes
4.6.9. Overlay Description
4.7. MEMORY Command
4.8. PHDRS Command
4.9. VERSION Command
4.10. Expressions in Linker Scripts
4.10.1. Constants
4.10.2. Symbol Names
4.10.3. The Location Counter
4.10.4. Operators
4.10.5. Evaluation
4.10.6. The Section of an Expression
4.10.7. Builtin Functions
4.11. Implicit Linker Scripts
5. Machine Dependent Features
5.1. ld and the H8/300
5.2. ld and the Intel 960 Family
5.3. ld's Support for Interworking Between ARM and Thumb Code
5.4. ld and HPPA 32-bit ELF Support
5.5. ld and MMIX
5.6. ld and MSP430
5.7. ld's Support for Various TI COFF Versions
5.8. ld and WIN32 (cygwin/mingw)
5.9. ld and Xtensa Processors
6. BFD
6.1. How It Works: An Outline of BFD
6.1.1. Information Loss
6.1.2. The BFD canonical object-file format
7. Reporting Bugs
7.1. Have You Found a Bug?
7.2. How to Report Bugs
A. MRI Compatible Script Files
B. GNU Free Documentation License
B.1. ADDENDUM: How to use this License for your documents
Index