aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2008-07-18 12:45:33 +0000
committerH.J. Lu <hjl.tools@gmail.com>2008-07-18 12:45:33 +0000
commit6cee0a6ffcf99f63bcb8bcab956f8e16ac2a343a (patch)
tree9267d764516bcbc88c906fd393b2f365bc36bddd
parent2b5c217d4551d71750840b7d76fd677075512903 (diff)
downloadgdb-6cee0a6ffcf99f63bcb8bcab956f8e16ac2a343a.zip
gdb-6cee0a6ffcf99f63bcb8bcab956f8e16ac2a343a.tar.gz
gdb-6cee0a6ffcf99f63bcb8bcab956f8e16ac2a343a.tar.bz2
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 1808f60..4a676b1 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 2ee0bb2..8fbaa35 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)))