summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-01-29 00:17:05 +0000
committerJoseph Myers <joseph@codesourcery.com>2011-01-29 00:17:05 +0000
commit81fe43a4537fa10fcd4e337724437690f2753aaf (patch)
tree3755c1b207c691d7e7029261e0015ee89db6b994 /bfd
parentb9545cf05f4a0c234bc25c232b39c85422343688 (diff)
downloadbinutils-redhat-81fe43a4537fa10fcd4e337724437690f2753aaf.tar.gz
* elf32-ppc.c (ppc_elf_link_hash_newfunc): Initialize has_sda_refs
field.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-ppc.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 536d0cac1d..99aba2a10b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
+
2010-12-10 Alan Modra <amodra@gmail.com>
* config.bfd: Configure rs6000-*-aix* as for powerpc-*-aix*.
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index 77a9d1e7f7..fcbfa8337b 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;