2008-07-18 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 18 Jul 2008 12:45:33 +0000 (12:45 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 18 Jul 2008 12:45:33 +0000 (12:45 +0000)
PR ld/6748
* elf32-arm.c (elf32_arm_link_hash_table_create): Initialize
new fields added for ARM long call support.

bfd/ChangeLog
bfd/elf32-arm.c

index 1808f60..4a676b1 100644 (file)
@@ -1,3 +1,9 @@
+2008-07-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/6748
+       * elf32-arm.c (elf32_arm_link_hash_table_create): Initialize
+       new fields added for ARM long call support.
+
 2008-07-18  Danny Backx  <dannybackx@users.sourceforge.net>
 
        * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to
index 2ee0bb2..8fbaa35 100644 (file)
@@ -2669,6 +2669,13 @@ elf32_arm_link_hash_table_create (bfd *abfd)
   ret->sym_sec.abfd = NULL;
   ret->obfd = abfd;
   ret->tls_ldm_got.refcount = 0;
+  ret->stub_bfd = NULL;
+  ret->add_stub_section = NULL;
+  ret->layout_sections_again = NULL;
+  ret->stub_group = NULL;
+  ret->bfd_count = 0;
+  ret->top_index = 0;
+  ret->input_list = NULL;
 
   if (!bfd_hash_table_init (&ret->stub_hash_table, stub_hash_newfunc,
                            sizeof (struct elf32_arm_stub_hash_entry)))