aboutsummaryrefslogtreecommitdiff
path: root/ld
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
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')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ld.19
2 files changed, 13 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index c4cbd7b..214783f 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+Thu Mar 30 13:09:46 1995 Ian Lance Taylor <ian@cygnus.com>
+
+ * ld.texinfo, ld.1: Document the -no-keep-memory option.
+
Mon Mar 27 11:10:08 1995 Ian Lance Taylor <ian@cygnus.com>
* ldmain.c (main): Revert patch of March 10, since the SVR4 linker
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