diff options
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r-- | bfd/dwarf2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index 1348137355e..0a0fc12b1ca 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -2183,9 +2183,9 @@ _bfd_dwarf2_find_nearest_line (bfd *abfd, stash = *pinfo; addr = offset; if (section->output_section) - addr += section->output_section->vma + section->output_offset; + addr += section->output_section->lma + section->output_offset; else - addr += section->vma; + addr += section->lma; *filename_ptr = NULL; *functionname_ptr = NULL; *linenumber_ptr = 0; @@ -2392,9 +2392,9 @@ _bfd_dwarf2_find_line (bfd *abfd, addr = symbol->value; if (section->output_section) - addr += section->output_section->vma + section->output_offset; + addr += section->output_section->lma + section->output_offset; else - addr += section->vma; + addr += section->lma; *filename_ptr = NULL; stash = *pinfo; |