2009-07-10 Doug Kwan <dougkwan@google.com>
authorDoug Kwan <dougkwan@google.com>
Fri, 10 Jul 2009 16:56:15 +0000 (16:56 +0000)
committerDoug Kwan <dougkwan@google.com>
Fri, 10 Jul 2009 16:56:15 +0000 (16:56 +0000)
* elf32-arm.c (stub_hash_newfunc): Initialize fields
target_addend and orig_insn.

bfd/ChangeLog
bfd/elf32-arm.c

index 3e958a994bb900336fe12cd2b878e8e3a7407d40..b0ecf0cf53eb1240a24adbc19f32181a6d418c19 100644 (file)
@@ -1,3 +1,8 @@
+2009-07-10  Doug Kwan  <dougkwan@google.com>
+
+       * elf32-arm.c (stub_hash_newfunc): Initialize fields
+       target_addend and orig_insn.
+
 2009-07-10  Tom Tromey  <tromey@redhat.com>
 
        * Makefile.am (dwarf2.lo): Use dwarf2.h, not elf/dwarf2.h.
index bb45587c0da7dfea8b582278dc07c9cf24cb7f6e..8c51624fbbef8b4a13ea11a9f8b4f7f17f7122bd 100644 (file)
@@ -2716,6 +2716,8 @@ stub_hash_newfunc (struct bfd_hash_entry *entry,
       eh->stub_offset = 0;
       eh->target_value = 0;
       eh->target_section = NULL;
+      eh->target_addend = 0;
+      eh->orig_insn = 0;
       eh->stub_type = arm_stub_none;
       eh->stub_size = 0;
       eh->stub_template = NULL;