Linker and Libraries Guide

Link-Editing

Link-editing takes a variety of input files, from cc(1), as(1) or ld(1), and concatenates and interprets the data within these input files to form a single output file. Although the link-editor provides numerous options, the output file that it produces is one of four basic types:

These output files, and the key link-editor options used to create them, are shown in Figure 1-1.

Dynamic executables and shared objects are often referred to jointly as dynamic objects and are the main focus of this document.

Figure 1-1 Static or Dynamic Link-Editing

Graphic