V850/BFD: Call `_bfd_elf_copy_private_bfd_data' again
authorMaciej W. Rozycki <macro@imgtec.com>
Mon, 16 May 2016 07:22:59 +0000 (08:22 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Mon, 16 May 2016 12:31:20 +0000 (13:31 +0100)
commit71de341392d18d7951b5a00fe68b6309e2dfbb47
tree39c1fd0b116141b81fe4464dd96181cd93cd06f9
parent7b14583ef0c858dc8f29c127f70b034f7f5d4ad2
V850/BFD: Call `_bfd_elf_copy_private_bfd_data' again

Correct a regression introduced with commit 685080f21003 ("Adds support
for generating notes in V850 binaries.") which replaced rather than
extending the call to `_bfd_elf_copy_private_bfd_data' with
`v850_elf_copy_private_bfd_data'.  Consequently ELFOSABI_GNU marking is
not propagated to output by `objcopy' from objects containing
STB_GNU_UNIQUE symbols.

bfd/
* elf32-v850.c (v850_elf_copy_notes): New function, factored out
from...
(v850_elf_copy_private_bfd_data): ... here.  Call the new
function and `_bfd_elf_copy_private_bfd_data'.

binutils/
* testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
test for the V850.
bfd/ChangeLog
bfd/elf32-v850.c
binutils/ChangeLog
binutils/testsuite/binutils-all/objcopy.exp