aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/dwarf2.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ca5f7b7..3fea46e 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2014-09-15 Chen Gang <gang.chen.5i5j@gmail.com>
+
+ * dwarf2.c (find_abstract_instance_name): Use 'form' instead of
+ 'name' for the typo issue, which related with commit
+ 60d77146a249ae9b51d7ce98930cdbedb2cfa352.
+
2014-09-15 Andrew Bennett <andrew.bennett@imgtec.com>
Matthew Fortune <matthew.fortune@imgtec.com>
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index 583504b..1ca69b6 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -2219,7 +2219,7 @@ find_abstract_instance_name (struct comp_unit *unit,
case DW_AT_MIPS_linkage_name:
/* PR 16949: Corrupt debug info can place
non-string forms into these attributes. */
- if (is_str_attr (attr.name))
+ if (is_str_attr (attr.form))
name = attr.u.str;
break;
default: