* elf32-ppc.c (ppc_elf_link_hash_newfunc): Initialize has_sda_refs
authorJoseph Myers <joseph@codesourcery.com>
Sat, 29 Jan 2011 00:12:52 +0000 (00:12 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Sat, 29 Jan 2011 00:12:52 +0000 (00:12 +0000)
field.

bfd/ChangeLog
bfd/elf32-ppc.c

index 9bbd329..c643fb7 100644 (file)
@@ -1,3 +1,8 @@
+2011-01-28  Joseph Myers  <joseph@codesourcery.com>
+
+       * elf32-ppc.c (ppc_elf_link_hash_newfunc): Initialize has_sda_refs
+       field.
+
 2011-01-22  Richard Sandiford  <rdsandiford@googlemail.com>
 
        * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Ignore
index 77a9d1e..fcbfa83 100644 (file)
@@ -2785,6 +2785,7 @@ ppc_elf_link_hash_newfunc (struct bfd_hash_entry *entry,
       ppc_elf_hash_entry (entry)->linker_section_pointer = NULL;
       ppc_elf_hash_entry (entry)->dyn_relocs = NULL;
       ppc_elf_hash_entry (entry)->tls_mask = 0;
+      ppc_elf_hash_entry (entry)->has_sda_refs = 0;
     }
 
   return entry;