summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/bfd/dwarf2.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-11-01 09:24:29 +0000
committerobrien <obrien@FreeBSD.org>2001-11-01 09:24:29 +0000
commit14771d6bc7b7b3d565489864e6dfa8ecc3940fc5 (patch)
treef6b7f87e74b800b8b30b12aa6cb092434d708ac4 /contrib/binutils/bfd/dwarf2.c
parent7734e00828d1a0cbfe8bad4005c310db5ae83187 (diff)
downloadFreeBSD-src-14771d6bc7b7b3d565489864e6dfa8ecc3940fc5.zip
FreeBSD-src-14771d6bc7b7b3d565489864e6dfa8ecc3940fc5.tar.gz
Halloween import of Binutils from the FSF 2.11 branch.
This fixes some IA-64 related bugs.
Diffstat (limited to 'contrib/binutils/bfd/dwarf2.c')
-rw-r--r--contrib/binutils/bfd/dwarf2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/binutils/bfd/dwarf2.c b/contrib/binutils/bfd/dwarf2.c
index 4a03273..2161846 100644
--- a/contrib/binutils/bfd/dwarf2.c
+++ b/contrib/binutils/bfd/dwarf2.c
@@ -1431,7 +1431,8 @@ comp_unit_find_nearest_line (unit, addr,
return false;
}
- if (! scan_unit_for_functions (unit))
+ if (unit->first_child_die_ptr < unit->end_ptr
+ && ! scan_unit_for_functions (unit))
{
unit->error = 1;
return false;
OpenPOWER on IntegriCloud