[PATCH] basename buffer gets spammed in `ld'

H . J . Lu hjl@lucon.org
Mon Jul 9 16:49:00 GMT 2001


On Mon, Jul 09, 2001 at 04:36:42PM -0700, David O'Brien wrote:
> There is a bug in `ld' that causes it to record crtn.o as a shared
> library dependency in some cases on FreeBSD.
> 
> Permission to apply to head and 2.11 branch?
> 

I am not against this patch. But there may be other places in the
soourceware tree where it assumes basename doesn't use a buffer.
I think libibery should check if the system's basename behaves
the same as the one in libibery before using the system one. I
can try to write a test for it.


H.J.



More information about the Binutils mailing list