diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-03-16 19:14:24 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-03-16 19:14:24 +0000 |
commit | ee499d81922e3fe015fdfc77cd21f9d9fd2abd42 (patch) | |
tree | 07f8a826c2ffc61b6259010bc43bbc7148428aa0 /ld/ld.1 | |
parent | f2f55b1677af6a75aa735277b533c566886e1279 (diff) | |
download | gdb-ee499d81922e3fe015fdfc77cd21f9d9fd2abd42.zip gdb-ee499d81922e3fe015fdfc77cd21f9d9fd2abd42.tar.gz gdb-ee499d81922e3fe015fdfc77cd21f9d9fd2abd42.tar.bz2 |
* ld.texinfo, ld.1: Document --whole-archive.
Diffstat (limited to 'ld/ld.1')
-rw-r--r-- | ld/ld.1 | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -108,6 +108,7 @@ ld \- the GNU linker .RB "[\|" \-\-version "\|]" .RB "[\|" \-warn\-common "\|]" .RB "[\|" \-warn\-once "\|]" +.RB "[\|" \-\-whole\-archive "\|]" .RB "[\|" \-X "\|]" .RB "[\|" \-x "\|]" .ad b @@ -827,6 +828,14 @@ Only warn once for each undefined symbol, rather than once per module which refers to it. .TP +.B \-\-whole\-archive +For each archive mentioned on the command line, include every object +file in the archive in the link, rather than searching the archive for +the required object files. This is normally used to turn an archive +file into a shared library, forcing every object to be included in the +resulting shared library. + +.TP .B \-X Delete all temporary local symbols. For most targets, this is all local symbols whose names begin with `\|\c |