[PATCH/RFC] ld checks for input/output file conflicts

Daniel Jacobowitz drow@mvista.com
Sat Oct 5 11:05:00 GMT 2002


On Sat, Oct 05, 2002 at 08:21:32PM +0300, Elias Athanasopoulos wrote:
> Hi all,
> 
> I added some checks to ld, in order to avoid strange behaviour when
> the input file is the same as the output or there are input file 
> duplications. Especially in the first case, when the input is identical

Duplications?  I'm not sure you can disallow them.  For instance, do ar
archives go through that routine?  If so, you broke GCC - -lgcc -c
-lgcc.

The other bit I like.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Binutils mailing list