diff options
author | Nick Clifton <nickc@redhat.com> | 2014-01-29 14:01:54 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-01-29 14:01:54 +0000 |
commit | df3ce959f4f4598f73c4e02f45e65ad1fd6f4f7c (patch) | |
tree | 8c00915c1c095769eef2ab04d40c65c619cc03ce /bfd/elf64-sh64.c | |
parent | 27b829ee701e29804216b3803fbaeb629be27491 (diff) | |
download | gdb-df3ce959f4f4598f73c4e02f45e65ad1fd6f4f7c.zip gdb-df3ce959f4f4598f73c4e02f45e65ad1fd6f4f7c.tar.gz gdb-df3ce959f4f4598f73c4e02f45e65ad1fd6f4f7c.tar.bz2 |
My patch to the binutils strip-10.d test was wrong. The osabi field should always be set to
ELFOSABI_GNU for binaries containing unique symbols. So I am reverting that patch and
instead applying the patch below to fix up the targets that were triggering the test failure.
bfd/ChangeLog
2014-01-29 Nick Clifton <nickc@redhat.com>
* elf32-metag.c (elf_metag_post_process_headers): Call
_bfd_elf_post_process_headers.
* elf32-sh64.c (sh64_elf_copy_private_data): Call
_bfd_elf_copy_private_data.
* elf64-sh64.c (sh_elf64_copy_private_data_internal): Likewise.
binutils/testsuite/ChangeLog
2014-01-29 Nick Clifton <nickc@redhat.com>
* binutils-all/strip-10.d: Revert previous delta.
Diffstat (limited to 'bfd/elf64-sh64.c')
-rw-r--r-- | bfd/elf64-sh64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf64-sh64.c b/bfd/elf64-sh64.c index e70887b..10a9396 100644 --- a/bfd/elf64-sh64.c +++ b/bfd/elf64-sh64.c @@ -2286,8 +2286,8 @@ sh_elf64_copy_private_data_internal (bfd *ibfd, bfd *obfd) } /* Copy object attributes. */ - _bfd_elf_copy_obj_attributes (ibfd, obfd); - + _bfd_elf_copy_private_bfd_data (ibfd, obfd); + return sh_elf64_set_private_flags (obfd, elf_elfheader (ibfd)->e_flags); } |