This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Hi Elias,

> 2002-10-05  Elias Athanasopoulos  <eathan@otenet.gr>
> 
> 	* ldlang.c (lang_file_exist): New function.
> 	(new_afile): Abort if the filename to be added matches the linker 
> 	output filename.
> 	* ldlang.h: Add prototype for lang_file_exist.
> 	* lexsup.c (parse_args): Abort if the output filename matches
> 	one of the input filenames.

Approved and applied.

Note - I made a few small changes.  I fixed the comments so that they
have two spaces after the full stop and before the closing */
I removed the calls to xexit (1) since the %F parameter to einfo()
already does this.  I also removed the word 'Aborting' from the error,
since this has a specific technical meaning,

Cheers
        Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]