From 5d8e6b4d11a1f8679e29c0b5787646134b8c3b13 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Thu, 7 Apr 2011 17:47:23 +0000 Subject: [PATCH] * dwarf2.c (scan_unit_for_symbols): Check for DW_AT_specification. --- bfd/ChangeLog | 4 ++++ bfd/dwarf2.c | 1 + 2 files changed, 5 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 2237656f29d..d61c115086d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2011-04-07 Cary Coutant + + * dwarf2.c (scan_unit_for_symbols): Check for DW_AT_specification. + 2011-04-07 Paul Brook * elf32-tic6x.c (elf32_tic6x_howto_table): R_C6000_PREL31 is diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index 38268561fb0..3db23956ab7 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -2164,6 +2164,7 @@ scan_unit_for_symbols (struct comp_unit *unit) break; case DW_AT_abstract_origin: + case DW_AT_specification: func->name = find_abstract_instance_name (unit, &attr); break; -- 2.30.2