[PATCH] bfd: fix elflink.c build

Alan Modra amodra@gmail.com
Tue Jul 10 14:41:00 GMT 2018


On Tue, Jul 10, 2018 at 07:31:59AM -0600, Jan Beulich wrote:
> Commit b8a6ced796 ("Correct removal of .gnu.attributes") introduced a
> "remove" local variable, but "remove" is an identifier older stdio.h
> supplies, and at least some compiler versions complain about the
> shadowing of the name.
> 
> bfd/
> 2018-07-10  Jan Beulich  <jbeulich@suse.com>
> 
> 	* elflink.c (bfd_elf_final_link): Rename "remove" to "rm".

Thanks, but Maciej has already posted a patch.
https://sourceware.org/ml/binutils/2018-07/msg00121.html

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list