output renaming in objcopy & strip

Alan Modra amodra@bigpond.net.au
Fri May 18 00:11:00 GMT 2007


On Thu, May 17, 2007 at 06:09:11PM +0100, Nathan Sidwell wrote:
> 	* objcopy.c (strip_main): Detect identical input and output file
> 	names.
> 	(copy_main): Refactor tempname detection and use.

OK, but you missed changing one "output_file == NULL" to
"output_file != tmpname" in strip_main.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list