From cedfb17907e5a4efe45f8a084ac727b44a8b724a Mon Sep 17 00:00:00 2001 From: Doug Kwan Date: Fri, 10 Jul 2009 16:56:15 +0000 Subject: [PATCH] 2009-07-10 Doug Kwan * elf32-arm.c (stub_hash_newfunc): Initialize fields target_addend and orig_insn. --- bfd/ChangeLog | 5 +++++ bfd/elf32-arm.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3e958a994bb..b0ecf0cf53e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2009-07-10 Doug Kwan + + * elf32-arm.c (stub_hash_newfunc): Initialize fields + target_addend and orig_insn. + 2009-07-10 Tom Tromey * Makefile.am (dwarf2.lo): Use dwarf2.h, not elf/dwarf2.h. diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index bb45587c0da..8c51624fbbe 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; -- 2.30.2