Missing part from "[PATCH] - objcopy --extract-symbol clears e_flags ELF header field"

Alan Modra amodra@gmail.com
Thu Oct 22 14:04:00 GMT 2015


On Tue, Oct 20, 2015 at 07:37:07AM -0400, Hans-Peter Nilsson wrote:
> On Thu, 15 Oct 2015, Alan Modra wrote:
> > binutils/
> > 	* objcopy.c (copy_object): Don't omit bfd_copy_private_bfd_data
> > 	call when extract_symbol.
> 
> Don't you want to remove the exact same lines in setup_section,
> dominating the bfd_copy_private_section_data call there?
> 
> Tested native i686-linux, cris-elf and mmix, no regressions.
> I guess you know better which other targets need testing.
> 
> binutils:
> 	* objcopy.c (setup_section): Don't omit bfd_copy_private_bfd_data
> 	call when extract_symbol.

OK.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list