From 755306bea8f1d30106422cc613728e33de9e51ba Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Fri, 30 Apr 2004 11:49:45 +0000 Subject: [PATCH] * ld.texinfo (--gc-sections): Remove restriction for dynamic linking. --- ld/ChangeLog | 5 +++++ ld/ld.texinfo | 6 +++--- 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 + + * ld.texinfo (--gc-sections): Remove restriction for + dynamic linking. + 2004-04-29 Brian Ford * 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 -- 2.7.4