aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-01-29 00:12:52 +0000
committerJoseph Myers <joseph@codesourcery.com>2011-01-29 00:12:52 +0000
commit5240d94db3d3ad8f1fcd6b603ab01da442e7358e (patch)
tree04a316d6ef613b362827682a127e69a8f8c98d88 /bfd
parent21355e73e3702afd64b3ec598880bc07dab8fdfc (diff)
downloadgdb-5240d94db3d3ad8f1fcd6b603ab01da442e7358e.zip
gdb-5240d94db3d3ad8f1fcd6b603ab01da442e7358e.tar.gz
gdb-5240d94db3d3ad8f1fcd6b603ab01da442e7358e.tar.bz2
* 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 9bbd329..c643fb7 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.
+
2011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
* 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;