aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.c
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2009-07-10 16:56:15 +0000
committerDoug Kwan <dougkwan@google.com>2009-07-10 16:56:15 +0000
commitcedfb17907e5a4efe45f8a084ac727b44a8b724a (patch)
treedcc9b7fc909171b399951c5add4816e2322b8fb1 /bfd/elf32-arm.c
parentfa8f86ff3b8e5b29e3b217abeaa33a747052c43e (diff)
downloadgdb-cedfb17907e5a4efe45f8a084ac727b44a8b724a.zip
gdb-cedfb17907e5a4efe45f8a084ac727b44a8b724a.tar.gz
gdb-cedfb17907e5a4efe45f8a084ac727b44a8b724a.tar.bz2
2009-07-10 Doug Kwan <dougkwan@google.com>
* elf32-arm.c (stub_hash_newfunc): Initialize fields target_addend and orig_insn.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r--bfd/elf32-arm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index bb45587..8c51624 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -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;