2006-01-17 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 17 Jan 2006 17:12:58 +0000 (17:12 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 17 Jan 2006 17:12:58 +0000 (17:12 +0000)
commit6dd55cb711112860860407fe47f18e1ddb17c599
tree04ed3e9e2afe21d8b8cc83d2c1b7ee04ab039590
parent64d03ab565d55c20bfa7267bc669876a8fbea912
2006-01-17  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/2096
* dwarf2.c (comp_unit_contains_address): Update comment.
(_bfd_dwarf2_find_nearest_line): Use section's vma, instead of
lma.  Return TRUE only if both comp_unit_contains_address and
comp_unit_find_nearest_line return TRUE.
(_bfd_dwarf2_find_line): Use section's vma, instead of lma.
bfd/ChangeLog
bfd/dwarf2.c