aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.1
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-03-30 18:10:51 +0000
committerIan Lance Taylor <ian@airs.com>1995-03-30 18:10:51 +0000
commite920526d000ffa4f2c0976375a194f26fe322a82 (patch)
tree1b6a3f5888dd7aa4500fcd1bc15ddca988276b44 /ld/ld.1
parentf66a79020742b63572f85e6c5de50c3be9b0acf5 (diff)
downloadgdb-e920526d000ffa4f2c0976375a194f26fe322a82.zip
gdb-e920526d000ffa4f2c0976375a194f26fe322a82.tar.gz
gdb-e920526d000ffa4f2c0976375a194f26fe322a82.tar.bz2
* ld.texinfo, ld.1: Document the -no-keep-memory option.
Diffstat (limited to 'ld/ld.1')
-rw-r--r--ld/ld.19
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/ld.1 b/ld/ld.1
index 27d3a30..feacea5 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
\&\|]
@@ -604,6 +605,14 @@ 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
\&
.I output\c