JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Linker and Libraries Guide
search filter icon
search icon

Document Information

Preface

1.  Introduction to the Oracle Solaris Link Editors

2.  Link-Editor

3.  Runtime Linker

4.  Shared Objects

5.  Application Binary Interfaces and Versioning

6.  Support Interfaces

7.  Object File Format

8.  Thread-Local Storage

9.  Mapfiles

A.  Link-Editor Quick Reference

B.  Versioning Quick Reference

C.  Establishing Dependencies with Dynamic String Tokens

D.  Direct Bindings

E.  System V Release 4 (Version 1) Mapfiles

F.  Linker and Libraries Updates and New Features

Index

Numbers and Symbols

A

B

C

D

E

F

G

I

L

M

N

O

P

R

S

T

U

V

W

L

lari(1), Observing Symbol Bindings
lazy binding
When Relocations Are Performed
Relocation Processing
Debugging Facility
Runtime Linker Auditing Interface
LCOMMON, Sections
ld(1), See link-editor
LD_AUDIT
Security
Invoking the Auditing Interface
LD_BIND_NOW
When Relocations Are Performed
Initialization and Termination Order
Debugging Facility
IA relocation
32-bit x86: Procedure Linkage Table
x64: Procedure Linkage Table
SPARC 32–bit relocation, 32-bit SPARC: Procedure Linkage Table
SPARC 64–bit relocation, 64-bit SPARC: Procedure Linkage Table
LD_BREADTH, Initialization and Termination Order
LD_CONFIG, Security
LD_DEBUG, Debugging Facility
LD_LIBRARY_PATH
Directories Searched by the Runtime Linker
Shared Objects With Dependencies
auditing, Audit Interface Functions
security, Security
LD_LOADFLTR, Filtee Processing
LD_NOAUDIT, Invoking the Auditing Interface
LD_NOAUXFLTR, Generating Auxiliary Filters
LD_NODIRECT
Enabling Direct Binding
Using the -B direct Option
LD_NOLAZYLOAD, Lazy Loading of Dynamic Dependencies
LD_NOVERSION, Specifying a Version Binding
LD_OPTIONS
Specifying the Link-Editor Options
Debugging Aids
LD_PRELOAD
Runtime Interposition
Loading Additional Objects
Security
Defining Explicit Interposition
LD_PROFILE, Profiling Shared Objects
LD_PROFILE_OUTPUT, Profiling Shared Objects
LD_RUN_PATH, Directories Searched by the Runtime Linker
LD_SIGNAL, Security
ld.so.1(1), See runtime linker
ldd(1), Directories Searched by the Runtime Linker
ldd(1) options
-d
Displacement Relocations
Relocation Errors
Copy Relocations
-i, Initialization and Termination Order
-r
Displacement Relocations
Relocation Errors
Copy Relocations
-u, Shared Object Processing
-v, Binding to a Version Definition
/lib
Directories Searched by the Link-Editor
Directories Searched by the Runtime Linker
Directories Searched by the Runtime Linker
Loading Additional Objects
/lib/64
Directories Searched by the Link-Editor
Directories Searched by the Runtime Linker
Directories Searched by the Runtime Linker
Loading Additional Objects
/lib/secure, Security
/lib/secure/64, Security
libelf.so.1
Support Interface Functions
Object File Format
libldstab.so.1, Invoking the Support Interface
libraries
archives, Library Naming Conventions
naming conventions, Library Naming Conventions
shared
Relocation Sections
Program Loading (Processor-Specific)
link-editing
Link-Editing
Symbol Table Section
Program Loading (Processor-Specific)
adding additional libraries, Linking With Additional Libraries
archive processing, Archive Processing
binding to a version definition
Binding to a Version Definition
Specifying a Version Binding
dynamic
Relocation Sections
Program Loading (Processor-Specific)
input file processing, Input File Processing
library input processing, Input File Processing
library linking options, Input File Processing
mixing shared objects and archives, Linking With a Mix of Shared Objects and Archives
position of files on command line, Position of an Archive on the Command Line
search paths
Directories Searched by the Link-Editor
Directories Searched by the Link-Editor
shared object processing, Shared Object Processing
link-editor
Introduction to the Oracle Solaris Link Editors
Link-Editor
cross link-editing, Cross Link-Editing
debugging aids, Debugging Aids
error messages
See error messages
external bindings, External Bindings
invoking directly, Invoking the Link-Editor
invoking using compiler driver, Using a Compiler Driver
overview, Link-Editor
sections, Link-Editor
segments, Link-Editor
specifying options, Specifying the Link-Editor Options
updates and new features, Linker and Libraries Updates and New Features
link-editor options
-64
The 32–bit link-editor and 64–bit link-editor
Generating Standard Filters
-a, Creating a Static Executable
-B direct
Creating a Shared Object
Creating a Dynamic Executable
Enabling Direct Binding
Using the -B direct Option
-B dynamic, Linking With a Mix of Shared Objects and Archives
-B eliminate, Symbol Elimination
-B group
Relocation Symbol Lookup
Symbol Lookup
Dynamic Section
-B local, Reducing Symbol Scope
-B nodirect, Using the -B nodirect Option
-B reduce
Reducing Symbol Scope
Relocatable Objects
SYMBOL_SCOPE / SYMBOL_VERSION Directives
-B static
Linking With a Mix of Shared Objects and Archives
Dynamic Mode
-B symbolic
Using the -B symbolic Option
Using the -B direct Option
-D, Debugging Aids
-d n
Static Mode
Creating a Dynamic Executable
-d y, Dynamic Mode
-e, Generating the Output File
-F, Shared Objects as Filters
-f, Shared Objects as Filters
-G
Shared Objects
Creating a Shared Object
Creating a Dynamic Executable
-h
Directories Searched by the Runtime Linker
Recording a Shared Object Name
Coordination of Versioned Filenames
Creating a Shared Object
-i, Directories Searched by the Link-Editor
-L
Directories Searched by the Link-Editor
Link-Editor Quick Reference
-l
Input File Processing
Linking With Additional Libraries
Naming Conventions
Link-Editor Quick Reference
-M, Mapfiles
defining interfaces, Creating a Shared Object
defining segments, Link-Editor
defining symbols
Defining Additional Symbols
Defining Additional Symbols
defining versions
Creating a Version Definition
Versioning a Shared Object
-m
Shared Object Processing
Simple Resolutions
-P, Recording Local Auditors
-p, Recording Local Auditors
-R
Directories Searched by the Runtime Linker
Shared Objects With Dependencies
Creating a Shared Object
Creating a Dynamic Executable
-r
Direct Invocation
Creating a Relocatable Object
-S, Invoking the Support Interface
-s
Symbol Elimination
Generating the Output File
-t
Complex Resolutions
Complex Resolutions
-u
Defining Additional Symbols
Defining Additional Symbols with the -u option
-Y, Directories Searched by the Link-Editor
-z allextract, Archive Processing
-z altexec64, The 32–bit link-editor and 64–bit link-editor
-z defs
Generating a Shared Object Output File
Creating an Audit Library
Creating a Shared Object
-z defaultextract, Archive Processing
-z direct
Enabling Direct Binding
Using the -z direct Option
-z endfiltee, Dynamic Section
-z finiarray, Initialization and Termination Sections
-z globalaudit, Recording Global Auditors
-z groupperm, Dynamic Section
-z guidance
Link-Editor Quick Reference
Creating a Shared Object
Creating a Dynamic Executable
-z ignore, Remove Unused Material
dependency elimination
Shared Object Processing
Creating a Shared Object
Creating a Dynamic Executable
section elimination
Remove Unused Material
Creating a Shared Object
-z initarray, Initialization and Termination Sections
-z initfirst, Dynamic Section
-z interpose
Runtime Interposition
Dynamic Section
Defining Explicit Interposition
-z ld32, 32–Bit Environments and 64–Bit Environments
-z ld64, 32–Bit Environments and 64–Bit Environments
-z lazyload
Lazy Loading of Dynamic Dependencies
Dynamic Section
Creating a Shared Object
Creating a Dynamic Executable
-z loadfltr
Filtee Processing
Dynamic Section
-z muldefs, Fatal Resolutions
-z now
When Relocations Are Performed
Initialization and Termination Order
Relocation Processing
-z nocompstrtab
String Table Compression
Section Merging
-z nodefs
Generating an Executable Output File
Relocation Errors
-z nodefaultlib
Directories Searched by the Runtime Linker
Dynamic Section
-z nodelete, Dynamic Section
-z nodirect, Enabling Direct Binding
-z nodlopen, Dynamic Section
-z nodump, Dynamic Section
-z nolazyload, Lazy Loading of Dynamic Dependencies
-z noldynsym
Symbol Table Layout and Conventions
Symbol Sort Sections
-z nopartial, Move Section
-z noversion
Reducing Symbol Scope
Creating a Version Definition
Binding to a Version Definition
-z record, Remove Unused Material
-z redlocsym, Symbol Table Layout and Conventions
-z rescan-end, Position of an Archive on the Command Line
-z rescan-now, Position of an Archive on the Command Line
-z rescan-start, Position of an Archive on the Command Line
-z target, Cross Link-Editing
-z text
Position-Independent Code
Creating a Shared Object
-z verbose, Displacement Relocations
-z weakextract
Archive Processing
Symbol Table Section
link-editor output
dynamic executables, Link-Editing
relocatable objects, Link-Editing
shared objects, Link-Editing
static executables, Link-Editing
link-editor support interface (ld-support), Support Interfaces
ld_atexit(), Support Interface Functions
ld_atexit64(), Support Interface Functions
ld_file(), Support Interface Functions
ld_file64(), Support Interface Functions
ld_input_done(), Support Interface Functions
ld_input_section(), Support Interface Functions
ld_input_section64(), Support Interface Functions
ld_open(), Support Interface Functions
ld_open64(), Support Interface Functions
ld_section(), Support Interface Functions
ld_section64(), Support Interface Functions
ld_start(), Support Interface Functions
ld_start64(), Support Interface Functions
ld_version(), Support Interface Functions
local symbols, Symbol Table Section
lorder(1)
Archive Processing
Debugging Aids