Date: Mon, 4 Oct 1999 17:14:40 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Gautier cc: djgpp AT delorie DOT com Subject: Re: Linker trimming unused code/data In-Reply-To: <37F8713A.D24E11B8@maths.unine.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 4 Oct 1999, Gautier wrote: > > What you need to do is to divide a single module into several smaller > > modules. Then the linker will only link in those modules which you > > actually need in your program. > > Of course - but in fact (after some inquiry etc.) the `ld' linker is almost > the only that can't do it itself! If you think GNU ld should support this feature, I suggest posting to gnu.utils.bug (or write to its e-mail gateway, bug-gnu-utils AT gnu DOT org) where it will be seen by Binutils maintainer(s).