(main): Initialize it to false.
* ldmain.h: Declare whole_archive.
* lexsup.c (parse_args): Grok --whole-archive switch.
+ * ld.texinfo, ld.1: Document --whole-archive.
Thu Mar 16 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com>
.RB "[\|" \-\-version "\|]"
.RB "[\|" \-warn\-common "\|]"
.RB "[\|" \-warn\-once "\|]"
+.RB "[\|" \-\-whole\-archive "\|]"
.RB "[\|" \-X "\|]"
.RB "[\|" \-x "\|]"
.ad b
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