From e920526d000ffa4f2c0976375a194f26fe322a82 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 30 Mar 1995 18:10:51 +0000 Subject: [PATCH] * ld.texinfo, ld.1: Document the -no-keep-memory option. --- ld/ChangeLog | 4 ++++ ld/ld.1 | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index c4cbd7bc26c..214783ff894 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +Thu Mar 30 13:09:46 1995 Ian Lance Taylor + + * ld.texinfo, ld.1: Document the -no-keep-memory option. + Mon Mar 27 11:10:08 1995 Ian Lance Taylor * ldmain.c (main): Revert patch of March 10, since the SVR4 linker diff --git a/ld/ld.1 b/ld/ld.1 index 27d3a300af1..feacea53bdc 100644 --- a/ld/ld.1 +++ b/ld/ld.1 @@ -71,6 +71,7 @@ ld \- the GNU linker \&\|] .RB "[\|" \-n | \-N "\|]" .RB "[\|" \-noinhibit-exec "\|]" +.RB "[\|" \-no\-keep\-memory "\|]" .RB "[\|" "\-oformat\ "\c .I output-format\c \&\|] @@ -603,6 +604,14 @@ Normally, the linker will not produce an output file if it encounters errors during the link process. With this flag, you can specify that you wish the output file retained even after non-fatal errors. +.TP +.B \-no\-keep\-memory +The linker normally optimizes for speed over memory usage by caching +the symbol tables of input files in memory. This option tells the +linker to instead optimize for memory usage, by rereading the symbol +tables as necessary. This may be required if the linker runs out of +memory space while linking a large executable. + .TP .BI "\-o " "output"\c \& -- 2.30.2