* elf.c (assign_file_positions_for_load_sections): Print vma in
authorNick Clifton <nickc@redhat.com>
Mon, 21 Jul 2008 16:01:01 +0000 (16:01 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 21 Jul 2008 16:01:01 +0000 (16:01 +0000)
        error message about overlapping section vmas.

bfd/ChangeLog
bfd/elf.c

index c2e14fb9217860b2fecbb943172591720aba4a2a..dfbd19ffecd88efc3fbd128b45e67937e225f9c2 100644 (file)
@@ -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
index dbb32ca752608d1e3ea592f0a955cc6ae666debd..24ab2c0bfb977f6397ce7cf97112b4b92c404c5b 100644 (file)
--- 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;