objcopy --extract-symbol
authorAlan Modra <amodra@gmail.com>
Thu, 15 Oct 2015 11:03:38 +0000 (21:33 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 15 Oct 2015 13:08:29 +0000 (23:38 +1030)
commite43fb83166ca5610e34cfba1dcf1216d0953aa8c
tree37a35c1e87197ef652900c8aec45d250d2f97896
parent38bc821765fd286a12d6934a4d9e4369fda64b41
objcopy --extract-symbol

Calling bfd_copy_private_bfd_data is necessary to copy ELF file header
info.

binutils/
* objcopy.c (copy_object): Don't omit bfd_copy_private_bfd_data
call when extract_symbol.
bfd/
* elf32-v850.c (v850_elf_copy_private_bfd_data): Remove assertion
that input and output .note.renesas sections are same size.
Instead, only copy input to output if they are.
bfd/ChangeLog
bfd/elf32-v850.c
binutils/ChangeLog
binutils/objcopy.c