From: H.J. Lu Date: Fri, 10 Feb 2006 17:13:23 +0000 (+0000) Subject: 2006-02-10 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d55ce4e249ace32927f3c7340bbb9e31257cf1c6;p=binutils-gdb.git 2006-02-10 H.J. Lu * elf.c (copy_private_bfd_data): Minor update. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6ba25312c18..57b71cd9165 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2006-02-10 H.J. Lu + + * elf.c (copy_private_bfd_data): Minor update. + 2006-02-10 H.J. Lu PR binutils/2258 diff --git a/bfd/elf.c b/bfd/elf.c index 59dd56fea3b..b56e2e81149 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -5731,8 +5731,6 @@ copy_elf_program_header (bfd *ibfd, bfd *obfd) static bfd_boolean copy_private_bfd_data (bfd *ibfd, bfd *obfd) { - Elf_Internal_Phdr *segment; - if (bfd_get_flavour (ibfd) != bfd_target_elf_flavour || bfd_get_flavour (obfd) != bfd_target_elf_flavour) return TRUE; @@ -5744,6 +5742,7 @@ copy_private_bfd_data (bfd *ibfd, bfd *obfd) { /* Check if any sections in the input BFD covered by ELF program header are changed. */ + Elf_Internal_Phdr *segment; asection *section, *osec; unsigned int i, num_segments; Elf_Internal_Shdr *this_hdr;