diff options
author | obrien <obrien@FreeBSD.org> | 2001-11-01 09:24:29 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-11-01 09:24:29 +0000 |
commit | 14771d6bc7b7b3d565489864e6dfa8ecc3940fc5 (patch) | |
tree | f6b7f87e74b800b8b30b12aa6cb092434d708ac4 /contrib/binutils/bfd/dwarf2.c | |
parent | 7734e00828d1a0cbfe8bad4005c310db5ae83187 (diff) | |
download | FreeBSD-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.c | 3 |
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; |