[PATCH 1/2] objcopy: Factor out some of the option parsing code.

Steve Ellcey sellcey@imgtec.com
Thu Feb 26 22:20:00 GMT 2015


On Thu, 2015-02-26 at 17:40 +0000, Andrew Burgess wrote:

> Does the patch below fix the issue for you?  I rename optarg to arg,
> which I don't believe is a global, but given that I have no faith in
> the shadow detection in my version of GCC, I'm nervous to just push
> this without it being confirmed to fix the issue.
> 
> If you can confirm this then I'll push it.  Alternatively, I'll setup
> an alternative GCC to compile with that hopefully will give me the
> shadow warning you see.
> 
> Sorry for the breakage,
> Andrew

Yes, that patch fixed the build problem for me.

Steve Ellcey
sellcey@imgtec.com



More information about the Binutils mailing list