aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-sh64.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-01-29 14:01:54 +0000
committerNick Clifton <nickc@redhat.com>2014-01-29 14:01:54 +0000
commitdf3ce959f4f4598f73c4e02f45e65ad1fd6f4f7c (patch)
tree8c00915c1c095769eef2ab04d40c65c619cc03ce /bfd/elf32-sh64.c
parent27b829ee701e29804216b3803fbaeb629be27491 (diff)
downloadgdb-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/elf32-sh64.c')
-rw-r--r--bfd/elf32-sh64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf32-sh64.c b/bfd/elf32-sh64.c
index 2848f19..d1daa0d 100644
--- a/bfd/elf32-sh64.c
+++ b/bfd/elf32-sh64.c
@@ -199,7 +199,8 @@ sh64_elf_copy_private_data (bfd * ibfd, bfd * obfd)
== elf_elfheader (ibfd)->e_flags));
elf_elfheader (obfd)->e_flags = elf_elfheader (ibfd)->e_flags;
- return TRUE;
+
+ return _bfd_elf_copy_private_bfd_data (ibfd, obfd);
}
static bfd_boolean