Subject: Re: The mysterious NEEDED
To: Matthias Drochner <>
From: Jason R Thorpe <>
List: tech-toolchain
Date: 11/01/2002 08:07:56
On Fri, Nov 01, 2002 at 02:38:40PM +0100, Matthias Drochner wrote:

 > There is appearently something between the basename() call
 > and this bfd call which also indirectly calls basename().
 > I still get these bogus NEEDEDs.
 > The appended patch is verified to fix the problem.

Hm, yah, I think lang_for_each_input_file() is probably doing that.

There is a memory leak with your patch, but that's easy to fix.  I'll
check it in now.

        -- Jason R. Thorpe <>