From: Ian Lance Taylor Date: Thu, 16 Mar 1995 19:14:24 +0000 (+0000) Subject: * ld.texinfo, ld.1: Document --whole-archive. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee499d81922e3fe015fdfc77cd21f9d9fd2abd42;p=binutils-gdb.git * ld.texinfo, ld.1: Document --whole-archive. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index cd8f44d370e..b4ba5abc9a2 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -6,6 +6,7 @@ Thu Mar 16 13:59:14 1995 Roland McGrath (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 diff --git a/ld/ld.1 b/ld/ld.1 index 40fec9f2a01..27d3a300af1 100644 --- a/ld/ld.1 +++ b/ld/ld.1 @@ -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 @@ -826,6 +827,14 @@ you to find potential problems from combining global symbols. 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