Copyright (C) 1991, 92, 93, 94, 1995 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided also that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions.
ld combines a number of object and archive files, relocates
their data and ties up symbol references. Usually the last step in
compiling a program is to run
ld accepts Linker Command Language files written in
a superset of AT&T's Link Editor Command Language syntax,
to provide explicit and total control over the linking process.
This version of
ld uses the general purpose BFD libraries
to operate on object files. This allows
ld to read, combine, and
write object files in many different formats--for example, COFF or
a.out. Different formats may be linked together to produce any
available kind of object file. See section BFD, for more information.
Aside from its flexibility, the GNU linker is more helpful than other
linkers in providing diagnostic information. Many linkers abandon
execution immediately upon encountering an error; whenever possible,
ld continues executing, allowing you to identify other errors
(or, in some cases, to get an output file in spite of the error).