This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gc-sections fix


> Now that we're doing gc-sections on apps linked with dynamic libs, we
> need to be prepared to handle indirect syms.

Ah!, yes :-)

It also occured to me that I didn't update the docs with my initial patch.

Ok for mainline?


ld/ChangeLog:

2004-04-30  Eric Botcazou <ebotcazou@act-europe.fr>

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

-- 
Eric Botcazou
Index: ld.texinfo
===================================================================
RCS file: /cvs/src/src/ld/ld.texinfo,v
retrieving revision 1.109
diff -u -r1.109 ld.texinfo
--- ld.texinfo	21 Apr 2004 06:08:47 -0000	1.109
+++ ld.texinfo	30 Apr 2004 10:37:51 -0000
@@ -1145,9 +1145,9 @@
 @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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]