Commit 23851576 by Jeff Law

Clarify some collect2 stuff.

From-SVN: r17324
parent fe07d4c1
...@@ -141,9 +141,9 @@ linker with GNU CC. ...@@ -141,9 +141,9 @@ linker with GNU CC.
This option does not cause the GNU linker to be installed; it just This option does not cause the GNU linker to be installed; it just
modifies the behavior of GNU CC to work with the GNU linker. modifies the behavior of GNU CC to work with the GNU linker.
Specifically, it inhibits the installation of @code{collect2}, a program @cSpecifically, it inhibits the installation of @code{collect2}, a program
which otherwise serves as a front-end for the system's linker on most @cwhich otherwise serves as a front-end for the system's linker on most
configurations. @cconfigurations.
@item --with-stabs @item --with-stabs
On MIPS based systems and on Alphas, you must specify whether you want On MIPS based systems and on Alphas, you must specify whether you want
...@@ -2205,11 +2205,8 @@ available. ...@@ -2205,11 +2205,8 @@ available.
@node Collect2 @node Collect2
@section @code{collect2} @section @code{collect2}
Many target systems do not have support in the assembler and linker for GNU CC uses a utility called @code{collect2} on nearly all systems to arrange
``constructors''---initialization functions to be called before the to call various initialization functions at start time.
official ``start'' of @code{main}. On such systems, GNU CC uses a
utility called @code{collect2} to arrange to call these functions at
start time.
The program @code{collect2} works by linking the program once and The program @code{collect2} works by linking the program once and
looking through the linker output file for symbols with particular names looking through the linker output file for symbols with particular names
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment