summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2008-07-18 12:45:33 +0000
committerH.J. Lu <hjl@lucon.org>2008-07-18 12:45:33 +0000
commit2e6efdff6dab775d10e823e9d4c0482d47981ddf (patch)
tree64853fb2b4e4334f8480791af04179ea01e37c72
parente3a366181dd362eca9aaf6eea701fc38dd62e342 (diff)
downloadgdb-2e6efdff6dab775d10e823e9d4c0482d47981ddf.tar.gz
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.
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/elf32-arm.c7
2 files changed, 13 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 1808f60e112..4a676b1910b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 2ee0bb23b51..8fbaa35411c 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -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)))