aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-07-21 16:01:01 +0000
committerNick Clifton <nickc@redhat.com>2008-07-21 16:01:01 +0000
commit37c43c558fad7c90c5b7c4bf686ec599a8e793e0 (patch)
treea6074580e9950c4210e0637fa1ce0a50b36288f2 /bfd/elf.c
parent50403a1fdba7b2750890718f02db106387a583f8 (diff)
downloadgdb-37c43c558fad7c90c5b7c4bf686ec599a8e793e0.zip
gdb-37c43c558fad7c90c5b7c4bf686ec599a8e793e0.tar.gz
gdb-37c43c558fad7c90c5b7c4bf686ec599a8e793e0.tar.bz2
* elf.c (assign_file_positions_for_load_sections): Print vma in
error message about overlapping section vmas.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index dbb32ca..24ab2c0 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -4398,7 +4398,7 @@ assign_file_positions_for_load_sections (bfd *abfd,
{
(*_bfd_error_handler)
(_("%B: section %A vma 0x%lx overlaps previous sections"),
- abfd, sec, (unsigned long) sec->lma);
+ abfd, sec, (unsigned long) sec->vma);
adjust = 0;
}
p->p_memsz += adjust;