* ld.texinfo (--gc-sections): Remove restriction for

dynamic linking.
This commit is contained in:
Eric Botcazou 2004-04-30 11:49:45 +00:00
parent 376eb240f8
commit 755306bea8
2 changed files with 8 additions and 3 deletions

View File

@ -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> 2004-04-29 Brian Ford <ford@vss.fsi.com>
* scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections

View File

@ -1136,9 +1136,9 @@ it ends in a @code{.exe} suffix.
@itemx --gc-sections @itemx --gc-sections
Enable garbage collection of unused input sections. It is ignored on Enable garbage collection of unused input sections. It is ignored on
targets that do not support this option. This option is not compatible 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 with @samp{-r}. The default behaviour (of not performing this garbage
behaviour (of not performing this garbage collection) can be restored by collection) can be restored by specifying @samp{--no-gc-sections} on
specifying @samp{--no-gc-sections} on the command line. the command line.
@cindex help @cindex help
@cindex usage @cindex usage