delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/04/12:59:05

Date: Mon, 4 Oct 1999 17:14:40 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Gautier <gautier DOT demontmollin AT maths DOT unine DOT ch>
cc: djgpp AT delorie DOT com
Subject: Re: Linker trimming unused code/data
In-Reply-To: <37F8713A.D24E11B8@maths.unine.ch>
Message-ID: <Pine.SUN.3.91.991004171251.25603D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019