This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: output renaming in objcopy & strip
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 18 May 2007 09:40:49 +0930
- Subject: Re: output renaming in objcopy & strip
- References: <464C8C37.2060900@codesourcery.com>
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