From 5240d94db3d3ad8f1fcd6b603ab01da442e7358e Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Sat, 29 Jan 2011 00:12:52 +0000 Subject: [PATCH] * elf32-ppc.c (ppc_elf_link_hash_newfunc): Initialize has_sda_refs field. --- bfd/ChangeLog | 5 +++++ bfd/elf32-ppc.c | 1 + 2 files changed, 6 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9bbd329..c643fb7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2011-01-28 Joseph Myers + + * elf32-ppc.c (ppc_elf_link_hash_newfunc): Initialize has_sda_refs + field. + 2011-01-22 Richard Sandiford * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Ignore diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 77a9d1e..fcbfa83 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -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; -- 2.7.4