aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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