2006-02-10 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (copy_private_bfd_data): Minor update.
This commit is contained in:
parent
84d1d6507c
commit
d55ce4e249
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2006-02-10 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* elf.c (copy_private_bfd_data): Minor update.
|
||||||
|
|
||||||
2006-02-10 H.J. Lu <hongjiu.lu@intel.com>
|
2006-02-10 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR binutils/2258
|
PR binutils/2258
|
||||||
|
|
|
@ -5731,8 +5731,6 @@ copy_elf_program_header (bfd *ibfd, bfd *obfd)
|
||||||
static bfd_boolean
|
static bfd_boolean
|
||||||
copy_private_bfd_data (bfd *ibfd, bfd *obfd)
|
copy_private_bfd_data (bfd *ibfd, bfd *obfd)
|
||||||
{
|
{
|
||||||
Elf_Internal_Phdr *segment;
|
|
||||||
|
|
||||||
if (bfd_get_flavour (ibfd) != bfd_target_elf_flavour
|
if (bfd_get_flavour (ibfd) != bfd_target_elf_flavour
|
||||||
|| bfd_get_flavour (obfd) != bfd_target_elf_flavour)
|
|| bfd_get_flavour (obfd) != bfd_target_elf_flavour)
|
||||||
return TRUE;
|
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
|
/* Check if any sections in the input BFD covered by ELF program
|
||||||
header are changed. */
|
header are changed. */
|
||||||
|
Elf_Internal_Phdr *segment;
|
||||||
asection *section, *osec;
|
asection *section, *osec;
|
||||||
unsigned int i, num_segments;
|
unsigned int i, num_segments;
|
||||||
Elf_Internal_Shdr *this_hdr;
|
Elf_Internal_Shdr *this_hdr;
|
||||||
|
|
Loading…
Reference in a new issue