Index

", see Section 4.10.2 Symbol Names
-(, see Section 3.1 Command Line Options
-Aarch, see Section 3.1 Command Line Options
-accept-unknown-input-arch, see Section 3.1 Command Line Options
-add-stdcall-alias, see Section 3.1 Command Line Options
-akeyword, see Section 3.1 Command Line Options
-allow-multiple-definition, see Section 3.1 Command Line Options
-allow-shlib-undefined, see Section 3.1 Command Line Options
-architecture=arch, see Section 3.1 Command Line Options
-assert keyword, see Section 3.1 Command Line Options
-auxiliary, see Section 3.1 Command Line Options
-b format, see Section 3.1 Command Line Options
-base-file, see Section 3.1 Command Line Options
-Bdynamic, see Section 3.1 Command Line Options
-Bgroup, see Section 3.1 Command Line Options
-Bshareable, see Section 3.1 Command Line Options
-Bstatic, see Section 3.1 Command Line Options
-Bsymbolic, see Section 3.1 Command Line Options
-c MRI-cmdfile, see Section 3.1 Command Line Options
-call_shared, see Section 3.1 Command Line Options
-check-sections, see Section 3.1 Command Line Options
-cref, see Section 3.1 Command Line Options
-d, see Section 3.1 Command Line Options
-dc, see Section 3.1 Command Line Options
-defsym symbol=exp, see Section 3.1 Command Line Options
-demangle[=style], see Section 3.1 Command Line Options
-disable-auto-image-base, see Section 3.1 Command Line Options
-disable-auto-import, see Section 3.1 Command Line Options
-disable-new-dtags, see Section 3.1 Command Line Options
-disable-runtime-pseudo-reloc, see Section 3.1 Command Line Options
-disable-stdcall-fixup, see Section 3.1 Command Line Options
-discard-all, see Section 3.1 Command Line Options
-discard-locals, see Section 3.1 Command Line Options
-dll, see Section 3.1 Command Line Options
-dll-search-prefix, see Section 3.1 Command Line Options
-dn, see Section 3.1 Command Line Options
-dp, see Section 3.1 Command Line Options
-dy, see Section 3.1 Command Line Options
-dynamic-linker file, see Section 3.1 Command Line Options
-E, see Section 3.1 Command Line Options
-e entry, see Section 3.1 Command Line Options
-EB, see Section 3.1 Command Line Options
-EL, see Section 3.1 Command Line Options
-embedded-relocs, see Section 3.1 Command Line Options
-emit-relocs, see Section 3.1 Command Line Options
-enable-auto-image-base, see Section 3.1 Command Line Options
-enable-auto-import, see Section 3.1 Command Line Options
-enable-extra-pe-debug, see Section 3.1 Command Line Options
-enable-new-dtags, see Section 3.1 Command Line Options
-enable-runtime-pseudo-reloc, see Section 3.1 Command Line Options
-enable-stdcall-fixup, see Section 3.1 Command Line Options
-entry=entry, see Section 3.1 Command Line Options
-exclude-libs, see Section 3.1 Command Line Options
-exclude-symbols, see Section 3.1 Command Line Options
-export-all-symbols, see Section 3.1 Command Line Options
-export-dynamic, see Section 3.1 Command Line Options
-F, see Section 3.1 Command Line Options
-f, see Section 3.1 Command Line Options
-fatal-warnings, see Section 3.1 Command Line Options
-file-alignment, see Section 3.1 Command Line Options
-filter, see Section 3.1 Command Line Options
-fini, see Section 3.1 Command Line Options
-force-exe-suffix, see Section 3.1 Command Line Options
-format=format, see Section 3.1 Command Line Options
-format=version, see Section 5.7 ld's Support for Various TI COFF Versions
-G, see Section 3.1 Command Line Options
-g, see Section 3.1 Command Line Options
-gc-sections, see Section 3.1 Command Line Options
-gpsize, see Section 3.1 Command Line Options
-heap, see Section 3.1 Command Line Options
-help, see Section 3.1 Command Line Options
-hname, see Section 3.1 Command Line Options
-i, see Section 3.1 Command Line Options
-Ifile, see Section 3.1 Command Line Options
-image-base, see Section 3.1 Command Line Options
-init, see Section 3.1 Command Line Options
-just-symbols=file, see Section 3.1 Command Line Options
-kill-at, see Section 3.1 Command Line Options
-larchive, see Section 3.1 Command Line Options
-Ldir, see Section 3.1 Command Line Options
-library-path=dir, see Section 3.1 Command Line Options
-library=archive, see Section 3.1 Command Line Options
-M, see Section 3.1 Command Line Options
-m emulation, see Section 3.1 Command Line Options
-major-image-version, see Section 3.1 Command Line Options
-major-os-version, see Section 3.1 Command Line Options
-major-subsystem-version, see Section 3.1 Command Line Options
-Map, see Section 3.1 Command Line Options
-minor-image-version, see Section 3.1 Command Line Options
-minor-os-version, see Section 3.1 Command Line Options
-minor-subsystem-version, see Section 3.1 Command Line Options
-mri-script=MRI-cmdfile, see Section 3.1 Command Line Options
-multi-subspace, see Section 5.4 ld and HPPA 32-bit ELF Support
-N, see Section 3.1 Command Line Options
-n, see Section 3.1 Command Line Options
-nmagic, see Section 3.1 Command Line Options
-no-accept-unknown-input-arch, see Section 3.1 Command Line Options
-no-allow-shlib-undefined, see Section 3.1 Command Line Options
-no-check-sections, see Section 3.1 Command Line Options
-no-define-common, see Section 3.1 Command Line Options
-no-demangle, see Section 3.1 Command Line Options
-no-gc-sections, see Section 3.1 Command Line Options
-no-keep-memory, see Section 3.1 Command Line Options
-no-omagic, see Section 3.1 Command Line Options
-no-relax, see Section 5.9 ld and Xtensa Processors
-no-undefined, see Section 3.1 Command Line Options
-no-undefined-version, see Section 3.1 Command Line Options
-no-warn-mismatch, see Section 3.1 Command Line Options
-no-whole-archive, see Section 3.1 Command Line Options
-noinhibit-exec, see Section 3.1 Command Line Options
-non_shared, see Section 3.1 Command Line Options
-nostdlib, see Section 3.1 Command Line Options
-O level, see Section 3.1 Command Line Options
-o output, see Section 3.1 Command Line Options
-oformat, see Section 3.1 Command Line Options
-omagic, see Section 3.1 Command Line Options
-out-implib, see Section 3.1 Command Line Options
-output-def, see Section 3.1 Command Line Options
-output=output, see Section 3.1 Command Line Options
-pic-executable, see Section 3.1 Command Line Options
-pie, see Section 3.1 Command Line Options
-print-map, see Section 3.1 Command Line Options
-q, see Section 3.1 Command Line Options
-qmagic, see Section 3.1 Command Line Options
-Qy, see Section 3.1 Command Line Options
-r, see Section 3.1 Command Line Options
-R file, see Section 3.1 Command Line Options
-relax, see Section 3.1 Command Line Options
-relax on i960, see Section 5.2 ld and the Intel 960 Family
-relax on Xtensa, see Section 5.9 ld and Xtensa Processors
-relocateable, see Section 3.1 Command Line Options
-rpath, see Section 3.1 Command Line Options
-rpath-link, see Section 3.1 Command Line Options
-S, see Section 3.1 Command Line Options
-s, see Section 3.1 Command Line Options
-script=script, see Section 3.1 Command Line Options
-section-alignment, see Section 3.1 Command Line Options
-section-start sectionname=org, see Section 3.1 Command Line Options
-shared, see Section 3.1 Command Line Options
-soname=name, see Section 3.1 Command Line Options
-sort-common, see Section 3.1 Command Line Options
-split-by-file, see Section 3.1 Command Line Options
-split-by-reloc, see Section 3.1 Command Line Options
-stack, see Section 3.1 Command Line Options
-static, see Section 3.1 Command Line Options
-stats, see Section 3.1 Command Line Options
-strip-all, see Section 3.1 Command Line Options
-strip-debug, see Section 3.1 Command Line Options
-stub-group-size=N, see Section 5.4 ld and HPPA 32-bit ELF Support
-subsystem, see Section 3.1 Command Line Options
-support-old-code, see Section 5.3 ld's Support for Interworking Between ARM and Thumb Code
-t, see Section 3.1 Command Line Options
-T script, see Section 3.1 Command Line Options
-target-help, see Section 3.1 Command Line Options
-Tbss org, see Section 3.1 Command Line Options
-Tdata org, see Section 3.1 Command Line Options
-thumb-entry=entry, see Section 5.3 ld's Support for Interworking Between ARM and Thumb Code
-trace, see Section 3.1 Command Line Options
-trace-symbol=symbol, see Section 3.1 Command Line Options
-traditional-format, see Section 3.1 Command Line Options
-Ttext org, see Section 3.1 Command Line Options
-u symbol, see Section 3.1 Command Line Options
-undefined=symbol, see Section 3.1 Command Line Options
-unique[=SECTION], see Section 3.1 Command Line Options
-Ur, see Section 3.1 Command Line Options
-V, see Section 3.1 Command Line Options
-v, see Section 3.1 Command Line Options
-verbose, see Section 3.1 Command Line Options
-version, see Section 3.1 Command Line Options
-version-script=version-scriptfile, see Section 3.1 Command Line Options
-warn-common, see Section 3.1 Command Line Options
-warn-constructors, see Section 3.1 Command Line Options
-warn-multiple-gp, see Section 3.1 Command Line Options
-warn-once, see Section 3.1 Command Line Options
-warn-section-align, see Section 3.1 Command Line Options
-whole-archive, see Section 3.1 Command Line Options
-wrap, see Section 3.1 Command Line Options
-X, see Section 3.1 Command Line Options
-x, see Section 3.1 Command Line Options
-Y path, see Section 3.1 Command Line Options
-y symbol, see Section 3.1 Command Line Options
-z defs, see Section 3.1 Command Line Options
-z keyword, see Section 3.1 Command Line Options
-z muldefs, see Section 3.1 Command Line Options
., see Section 4.10.3 The Location Counter
/DISCARD/, see Section 4.6.7 Output Section Discarding
:phdr, see Section 4.6.8.4 Output Section Phdr
=fillexp, see Section 4.6.8.5 Output Section Fill
>region, see Section 4.6.8.3 Output Section Region
[COMMON], see Section 4.6.4.3 Input Section for Common Symbols
ABSOLUTE (MRI), see Appendix A MRI Compatible Script Files

A

absolute and relocatable symbols, see Section 4.10.6 The Section of an Expression
absolute expressions, see Section 4.10.6 The Section of an Expression
ABSOLUTE(exp), see Section 4.10.7 Builtin Functions
ADDR(section), see Section 4.10.7 Builtin Functions
address, section, see Section 4.6.3 Output Section Description
ALIAS (MRI), see Appendix A MRI Compatible Script Files
ALIGN (MRI), see Appendix A MRI Compatible Script Files
align location counter, see Section 4.10.7 Builtin Functions
ALIGN(exp), see Section 4.10.7 Builtin Functions
allocating memory, see Section 4.7 MEMORY Command
architecture, see Section 4.4.4 Other Linker Script Commands
architectures, see Section 3.1 Command Line Options
archive files, from cmd line, see Section 3.1 Command Line Options
archive search path in linker script, see Section 4.4.2 Commands Dealing with Files
arithmetic, see Section 4.10 Expressions in Linker Scripts
arithmetic operators, see Section 4.10.4 Operators
ARM interworking support, see Section 5.3 ld's Support for Interworking Between ARM and Thumb Code
ASSERT, see Section 4.4.4 Other Linker Script Commands
assertion in linker script, see Section 4.4.4 Other Linker Script Commands
assignment in scripts, see Section 4.5 Assigning Values to Symbols
AT(lma), see Section 4.6.8.2 Output Section LMA
AT>lma_region, see Section 4.6.8.2 Output Section LMA
automatic data imports, see Section 5.8 ld and WIN32 (cygwin/mingw)

B

back end, see Chapter 6 BFD
BASE (MRI), see Appendix A MRI Compatible Script Files
BFD canonical format, see Section 6.1.2 The BFD canonical object-file format
BFD requirements, see Chapter 6 BFD
big-endian objects, see Section 3.1 Command Line Options
binary input format, see Section 3.1 Command Line Options
BLOCK(exp), see Section 4.10.7 Builtin Functions
bug criteria, see Section 7.1 Have You Found a Bug?
bug reports, see Section 7.2 How to Report Bugs
bugs in ld, see Chapter 7 Reporting Bugs
BYTE(expression), see Section 4.6.5 Output Section Data

C

C++ constructors, arranging in link, see Section 4.6.6 Output Section Keywords
CHIP (MRI), see Appendix A MRI Compatible Script Files
COLLECT_NO_DEMANGLE, see Section 3.2 Environment Variables
combining symbols, warnings on, see Section 3.1 Command Line Options
command files, see Chapter 4 Linker Scripts
command line, see Section 3.1 Command Line Options
common allocation, see Section 3.1 Command Line Options
common allocation in linker script, see Section 4.4.4 Other Linker Script Commands
common symbol placement, see Section 4.6.4.3 Input Section for Common Symbols
compatibility, MRI, see Section 3.1 Command Line Options
constants in linker scripts, see Section 4.10.1 Constants
CONSTRUCTORS, see Section 4.6.6 Output Section Keywords
constructors, see Section 3.1 Command Line Options
constructors, arranging in link, see Section 4.6.6 Output Section Keywords
crash of linker, see Section 7.1 Have You Found a Bug?
CREATE_OBJECT_SYMBOLS, see Section 4.6.6 Output Section Keywords
creating a DEF file, see Section 5.8 ld and WIN32 (cygwin/mingw)
cross reference table, see Section 3.1 Command Line Options
cross references, see Section 4.4.4 Other Linker Script Commands
current output location, see Section 4.10.3 The Location Counter

D

data, see Section 4.6.5 Output Section Data
DATA_SEGMENT_ALIGN(maxpagesize, commonpagesize), see Section 4.10.7 Builtin Functions
DATA_SEGMENT_END(exp), see Section 4.10.7 Builtin Functions
dbx, see Section 3.1 Command Line Options
DEF files, creating, see Section 3.1 Command Line Options
default emulation, see Section 3.2 Environment Variables
default input format, see Section 3.2 Environment Variables
DEFINED(symbol), see Section 4.10.7 Builtin Functions
deleting local symbols, see Section 3.1 Command Line Options
demangling, default, see Section 3.2 Environment Variables
demangling, from command line, see Section 3.1 Command Line Options
direct linking to a dll, see Section 5.8 ld and WIN32 (cygwin/mingw)
discarding sections, see Section 4.6.7 Output Section Discarding
discontinuous memory, see Section 4.7 MEMORY Command
DLLs, creating, see Section 3.1 Command Line Options
DLLs, linking to, see Section 3.1 Command Line Options
dot, see Section 4.10.3 The Location Counter
dot inside sections, see Section 4.10.3 The Location Counter
dynamic linker, from command line, see Section 3.1 Command Line Options
dynamic symbol table, see Section 3.1 Command Line Options

E

ELF program headers, see Section 4.8 PHDRS Command
emulation, see Section 3.1 Command Line Options
emulation, default, see Section 3.2 Environment Variables
END (MRI), see Appendix A MRI Compatible Script Files
endianness, see Section 3.1 Command Line Options
entry point, see Section 4.4.1 Setting the Entry Point
entry point, from command line, see Section 3.1 Command Line Options
entry point, thumb, see Section 5.3 ld's Support for Interworking Between ARM and Thumb Code
ENTRY(symbol), see Section 4.4.1 Setting the Entry Point
error on valid input, see Section 7.1 Have You Found a Bug?
example of linker script, see Section 4.3 Simple Linker Script Example
exporting DLL symbols, see Section 5.8 ld and WIN32 (cygwin/mingw)
expression evaluation order, see Section 4.10.5 Evaluation
expression sections, see Section 4.10.6 The Section of an Expression
expression, absolute, see Section 4.10.7 Builtin Functions
expressions, see Section 4.10 Expressions in Linker Scripts
EXTERN, see Section 4.4.4 Other Linker Script Commands

F

fatal signal, see Section 7.1 Have You Found a Bug?
file name wildcard patterns, see Section 4.6.4.2 Input Section Wildcard Patterns
FILEHDR, see Section 4.8 PHDRS Command
filename symbols, see Section 4.6.6 Output Section Keywords
fill pattern, entire section, see Section 4.6.8.5 Output Section Fill
FILL(expression), see Section 4.6.5 Output Section Data
finalization function, see Section 3.1 Command Line Options
first input file, see Section 4.4.2 Commands Dealing with Files
first instruction, see Section 4.4.1 Setting the Entry Point
FORCE_COMMON_ALLOCATION, see Section 4.4.4 Other Linker Script Commands
FORMAT (MRI), see Appendix A MRI Compatible Script Files
functions in expressions, see Section 4.10.7 Builtin Functions

G

garbage collection, see Section 4.6.4.4 Input Section and Garbage Collection
garbage collection, see Section 3.1 Command Line Options
generating optimized output, see Section 3.1 Command Line Options
gnu linker, see Chapter 2 Overview
GNUTARGET, see Section 3.2 Environment Variables
GROUP(files), see Section 4.4.2 Commands Dealing with Files
grouping input files, see Section 4.4.2 Commands Dealing with Files
groups of archives, see Section 3.1 Command Line Options

H

H8/300 support, see Section 5.1 ld and the H8/300
header size, see Section 4.10.7 Builtin Functions
heap size, see Section 3.1 Command Line Options
help, see Section 3.1 Command Line Options
holes, see Section 4.10.3 The Location Counter
holes, filling, see Section 4.6.5 Output Section Data
HPPA multiple sub-space stubs, see Section 5.4 ld and HPPA 32-bit ELF Support
HPPA stub grouping, see Section 5.4 ld and HPPA 32-bit ELF Support

I

i960 support, see Section 5.2 ld and the Intel 960 Family
image base, see Section 3.1 Command Line Options
implicit linker scripts, see Section 4.11 Implicit Linker Scripts
import libraries, see Section 5.8 ld and WIN32 (cygwin/mingw)
INCLUDE filename, see Section 4.4.2 Commands Dealing with Files
including a linker script, see Section 4.4.2 Commands Dealing with Files
including an entire archive, see Section 3.1 Command Line Options
incremental link, see Section 3.1 Command Line Options
INHIBIT_COMMON_ALLOCATION, see Section 4.4.4 Other Linker Script Commands
initialization function, see Section 3.1 Command Line Options
initialized data in ROM, see Section 4.6.8.2 Output Section LMA
input file format in linker script, see Section 4.4.3 Commands Dealing with Object File Formats
input filename symbols, see Section 4.6.6 Output Section Keywords
input files in linker scripts, see Section 4.4.2 Commands Dealing with Files
input files, displaying, see Section 3.1 Command Line Options
input format, see Section 3.1 Command Line Options
input object files in linker scripts, see Section 4.4.2 Commands Dealing with Files
input section basics, see Section 4.6.4.1 Input Section Basics
input section wildcards, see Section 4.6.4.2 Input Section Wildcard Patterns
input sections, see Section 4.6.4 Input Section Description
INPUT(files), see Section 4.4.2 Commands Dealing with Files
integer notation, see Section 4.10.1 Constants
integer suffixes, see Section 4.10.1 Constants
internal object-file format, see Section 6.1.2 The BFD canonical object-file format
invalid input, see Section 7.1 Have You Found a Bug?

K

K and M integer suffixes, see Section 4.10.1 Constants
KEEP, see Section 4.6.4.4 Input Section and Garbage Collection

L

l =, see Section 4.7 MEMORY Command
L, deleting symbols beginning, see Section 3.1 Command Line Options
lazy evaluation, see Section 4.10.5 Evaluation
ld bugs, reporting, see Section 7.2 How to Report Bugs
LDEMULATION, see Section 3.2 Environment Variables
len =, see Section 4.7 MEMORY Command
LENGTH =, see Section 4.7 MEMORY Command
library search path in linker script, see Section 4.4.2 Commands Dealing with Files
link map, see Section 3.1 Command Line Options
link-time runtime library search path, see Section 3.1 Command Line Options
linker crash, see Section 7.1 Have You Found a Bug?
linker script concepts, see Section 4.1 Basic Linker Script Concepts
linker script example, see Section 4.3 Simple Linker Script Example
linker script file commands, see Section 4.4.2 Commands Dealing with Files
linker script format, see Section 4.2 Linker Script Format
linker script input object files, see Section 4.4.2 Commands Dealing with Files
linker script simple commands, see Section 4.4 Simple Linker Script Commands
linker scripts, see Chapter 4 Linker Scripts
LIST (MRI), see Appendix A MRI Compatible Script Files
little-endian objects, see Section 3.1 Command Line Options
LOAD (MRI), see Appendix A MRI Compatible Script Files
load address, see Section 4.6.8.2 Output Section LMA
LOADADDR(section), see Section 4.10.7 Builtin Functions
loading, preventing, see Section 4.6.8.1 Output Section Type
local symbols, deleting, see Section 3.1 Command Line Options
location counter, see Section 4.10.3 The Location Counter
LONG(expression), see Section 4.6.5 Output Section Data

M

M and K integer suffixes, see Section 4.10.1 Constants
machine architecture, see Section 4.4.4 Other Linker Script Commands
machine dependencies, see Chapter 5 Machine Dependent Features
mapping input sections to output sections, see Section 4.6.4 Input Section Description
MAX, see Section 4.10.7 Builtin Functions
MEMORY, see Section 4.7 MEMORY Command
memory region attributes, see Section 4.7 MEMORY Command
memory regions, see Section 4.7 MEMORY Command
memory regions and sections, see Section 4.6.8.3 Output Section Region
memory usage, see Section 3.1 Command Line Options
MIN, see Section 4.10.7 Builtin Functions
MIPS embedded PIC code, see Section 3.1 Command Line Options
MRI compatibility, see Appendix A MRI Compatible Script Files
MSP430 extra sections, see Section 5.6 ld and MSP430
NAME (MRI), see Appendix A MRI Compatible Script Files

N

name, section, see Section 4.6.2 Output Section Name
names, see Section 4.10.2 Symbol Names
naming the output file, see Section 3.1 Command Line Options
NEXT(exp), see Section 4.10.7 Builtin Functions
NMAGIC, see Section 3.1 Command Line Options
NOCROSSREFS(sections), see Section 4.4.4 Other Linker Script Commands
NOLOAD, see Section 4.6.8.1 Output Section Type
not enough room for program headers, see Section 4.10.7 Builtin Functions

O

o =, see Section 4.7 MEMORY Command
objdump -i, see Chapter 6 BFD
object file management, see Chapter 6 BFD
object files, see Section 3.1 Command Line Options
object formats available, see Chapter 6 BFD
object size, see Section 3.1 Command Line Options
OMAGIC, see Section 3.1 Command Line Options
opening object files, see Section 6.1 How It Works: An Outline of BFD
operators for arithmetic, see Section 4.10.4 Operators
options, see Section 3.1 Command Line Options
ORDER (MRI), see Appendix A MRI Compatible Script Files
org =, see Section 4.7 MEMORY Command
ORIGIN =, see Section 4.7 MEMORY Command
output file after errors, see Section 3.1 Command Line Options
output file format in linker script, see Section 4.4.3 Commands Dealing with Object File Formats
output file name in linker scripot, see Section 4.4.2 Commands Dealing with Files
output section attributes, see Section 4.6.8 Output Section Attributes
output section data, see Section 4.6.5 Output Section Data
OUTPUT(filename), see Section 4.4.2 Commands Dealing with Files
OUTPUT_ARCH(bfdarch), see Section 4.4.4 Other Linker Script Commands
OUTPUT_FORMAT(bfdname), see Section 4.4.3 Commands Dealing with Object File Formats
OVERLAY, see Section 4.6.9 Overlay Description
overlays, see Section 4.6.9 Overlay Description

P

partial link, see Section 3.1 Command Line Options
PHDRS, see Section 4.8 PHDRS Command
position independent executables, see Section 3.1 Command Line Options
precedence in expressions, see Section 4.10.4 Operators
prevent unnecessary loading, see Section 4.6.8.1 Output Section Type
program headers, see Section 4.8 PHDRS Command
program headers and sections, see Section 4.6.8.4 Output Section Phdr
program headers, not enough room, see Section 4.10.7 Builtin Functions
program segments, see Section 4.8 PHDRS Command
PROVIDE, see Section 4.5.2 PROVIDE
PUBLIC (MRI), see Appendix A MRI Compatible Script Files

Q

QUAD(expression), see Section 4.6.5 Output Section Data
quoted symbol names, see Section 4.10.2 Symbol Names

R

read-only text, see Section 3.1 Command Line Options
read/write from cmd line, see Section 3.1 Command Line Options
regions of memory, see Section 4.7 MEMORY Command
relative expressions, see Section 4.10.6 The Section of an Expression
relaxing addressing modes, see Section 3.1 Command Line Options
relaxing on H8/300, see Section 5.1 ld and the H8/300
relaxing on i960, see Section 5.2 ld and the Intel 960 Family
relaxing on Xtensa, see Section 5.9 ld and Xtensa Processors
relocatable and absolute symbols, see Section 4.10.6 The Section of an Expression
relocatable output, see Section 3.1 Command Line Options
removing sections, see Section 4.6.7 Output Section Discarding
reporting bugs in ld, see Chapter 7 Reporting Bugs
requirements for BFD, see Chapter 6 BFD
retain relocations in final executable, see Section 3.1 Command Line Options
retaining specified symbols, see Section 3.1 Command Line Options
ROM initialized data, see Section 4.6.8.2 Output Section LMA
round up location counter, see Section 4.10.7 Builtin Functions
runtime library name, see Section 3.1 Command Line Options
runtime library search path, see Section 3.1 Command Line Options
runtime pseudo-relocation, see Section 5.8 ld and WIN32 (cygwin/mingw)

S

scaled integers, see Section 4.10.1 Constants
scommon section, see Section 4.6.4.3 Input Section for Common Symbols
script files, see Section 3.1 Command Line Options
scripts, see Chapter 4 Linker Scripts
search directory, from cmd line, see Section 3.1 Command Line Options
search path in linker script, see Section 4.4.2 Commands Dealing with Files
SEARCH_DIR(path), see Section 4.4.2 Commands Dealing with Files
SECT (MRI), see Appendix A MRI Compatible Script Files
section address, see Section 4.6.3 Output Section Description
section address in expression, see Section 4.10.7 Builtin Functions
section alignment, warnings on, see Section 3.1 Command Line Options
section data, see Section 4.6.5 Output Section Data
section fill pattern, see Section 4.6.8.5 Output Section Fill
section load address, see Section 4.6.8.2 Output Section LMA
section load address in expression, see Section 4.10.7 Builtin Functions
section name, see Section 4.6.2 Output Section Name
section name wildcard patterns, see Section 4.6.4.2 Input Section Wildcard Patterns
section size, see Section 4.10.7 Builtin Functions
section, assigning to memory region, see Section 4.6.8.3 Output Section Region
section, assigning to program header, see Section 4.6.8.4 Output Section Phdr
SECTIONS, see Section 4.6 SECTIONS Command
sections, discarding, see Section 4.6.7 Output Section Discarding
segment origins, cmd line, see Section 3.1 Command Line Options
segments, ELF, see Section 4.8 PHDRS Command
shared libraries, see Section 3.1 Command Line Options
SHORT(expression), see Section 4.6.5 Output Section Data
SIZEOF(section), see Section 4.10.7 Builtin Functions
SIZEOF_HEADERS, see Section 4.10.7 Builtin Functions
small common symbols, see Section 4.6.4.3 Input Section for Common Symbols
SORT, see Section 4.6.4.2 Input Section Wildcard Patterns
SQUAD(expression), see Section 4.6.5 Output Section Data
stack size, see Section 3.1 Command Line Options
standard Unix system, see Section 3.1 Command Line Options
start of execution, see Section 4.4.1 Setting the Entry Point
STARTUP(filename), see Section 4.4.2 Commands Dealing with Files
strip all symbols, see Section 3.1 Command Line Options
strip debugger symbols, see Section 3.1 Command Line Options
stripping all but some symbols, see Section 3.1 Command Line Options
suffixes for integers, see Section 4.10.1 Constants
symbol defaults, see Section 4.10.7 Builtin Functions
symbol definition, scripts, see Section 4.5 Assigning Values to Symbols
symbol names, see Section 4.10.2 Symbol Names
symbol tracing, see Section 3.1 Command Line Options
symbol versions, see Section 4.9 VERSION Command
symbol-only input, see Section 3.1 Command Line Options
symbols, from command line, see Section 3.1 Command Line Options
symbols, relocatable and absolute, see Section 4.10.6 The Section of an Expression
symbols, retaining selectively, see Section 3.1 Command Line Options
synthesizing linker, see Section 3.1 Command Line Options
synthesizing on H8/300, see Section 5.1 ld and the H8/300

T

TARGET(bfdname), see Section 4.4.3 Commands Dealing with Object File Formats
thumb entry point, see Section 5.3 ld's Support for Interworking Between ARM and Thumb Code
TI COFF versions, see Section 5.7 ld's Support for Various TI COFF Versions
traditional format, see Section 3.1 Command Line Options

U

unallocated address, next, see Section 4.10.7 Builtin Functions
undefined symbol, see Section 3.1 Command Line Options
undefined symbol in linker script, see Section 4.4.4 Other Linker Script Commands
undefined symbols, warnings on, see Section 3.1 Command Line Options
uninitialized data placement, see Section 4.6.4.3 Input Section for Common Symbols
unspecified memory, see Section 4.6.5 Output Section Data
usage, see Section 3.1 Command Line Options
using a DEF file, see Section 5.8 ld and WIN32 (cygwin/mingw)
using auto-export functionality, see Section 5.8 ld and WIN32 (cygwin/mingw)
Using decorations, see Section 5.8 ld and WIN32 (cygwin/mingw)

V

variables, defining, see Section 4.5 Assigning Values to Symbols
verbose, see Section 3.1 Command Line Options
version, see Section 3.1 Command Line Options
version script, see Section 4.9 VERSION Command
version script, symbol versions, see Section 3.1 Command Line Options
VERSION {script text}, see Section 4.9 VERSION Command
versions of symbols, see Section 4.9 VERSION Command

W

warnings, on combining symbols, see Section 3.1 Command Line Options
warnings, on section alignment, see Section 3.1 Command Line Options
warnings, on undefined symbols, see Section 3.1 Command Line Options
what is this?, see Chapter 2 Overview
wildcard file name patterns, see Section 4.6.4.2 Input Section Wildcard Patterns

X

Xtensa processors, see Section 5.9 ld and Xtensa Processors