aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c2e14fb..dfbd19f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-21 Sterling Augustine <sterling@tensilica.com>
+
+ * elf.c (assign_file_positions_for_load_sections): Print vma in
+ error message about overlapping section vmas.
+
2008-07-21 H.J. Lu <hongjiu.lu@intel.com>
PR ld/6747
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;