aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2004-04-30 11:49:45 +0000
committerEric Botcazou <ebotcazou@libertysurf.fr>2004-04-30 11:49:45 +0000
commit755306bea8f1d30106422cc613728e33de9e51ba (patch)
treee6d9dd66e06a44e82047ab9a024eeb6c39072e68
parent376eb240f8acae77064d500acf968a38a3982091 (diff)
downloadgdb-755306bea8f1d30106422cc613728e33de9e51ba.zip
gdb-755306bea8f1d30106422cc613728e33de9e51ba.tar.gz
gdb-755306bea8f1d30106422cc613728e33de9e51ba.tar.bz2
* ld.texinfo (--gc-sections): Remove restriction for
dynamic linking.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/ld.texinfo6
2 files changed, 8 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index d511853..0d60bad 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
+
+ * ld.texinfo (--gc-sections): Remove restriction for
+ dynamic linking.
+
2004-04-29 Brian Ford <ford@vss.fsi.com>
* scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 5461f0b..f50d79a 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -1136,9 +1136,9 @@ it ends in a @code{.exe} suffix.
@itemx --gc-sections
Enable garbage collection of unused input sections. It is ignored on
targets that do not support this option. This option is not compatible
-with @samp{-r}, nor should it be used with dynamic linking. The default
-behaviour (of not performing this garbage collection) can be restored by
-specifying @samp{--no-gc-sections} on the command line.
+with @samp{-r}. The default behaviour (of not performing this garbage
+collection) can be restored by specifying @samp{--no-gc-sections} on
+the command line.
@cindex help
@cindex usage