From 37c43c558fad7c90c5b7c4bf686ec599a8e793e0 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 21 Jul 2008 16:01:01 +0000 Subject: [PATCH] * elf.c (assign_file_positions_for_load_sections): Print vma in error message about overlapping section vmas. --- bfd/ChangeLog | 5 +++++ bfd/elf.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c2e14fb9217..dfbd19ffecd 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2008-07-21 Sterling Augustine + + * elf.c (assign_file_positions_for_load_sections): Print vma in + error message about overlapping section vmas. + 2008-07-21 H.J. Lu PR ld/6747 diff --git a/bfd/elf.c b/bfd/elf.c index dbb32ca7526..24ab2c0bfb9 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; -- 2.30.2