This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Erroneous error message?


Hi Sterling,

I'm new to the ld code, so I could be wrong, but in regards to the patch described here:

http://sourceware.org/ml/binutils/2008-05/msg00235.html

Which has the relevant lines (indentation omitted):

  (*_bfd_error_handler)
-    (_("%B: section %A lma 0x%lx overlaps previous sections"),
+    (_("%B: section %A vma 0x%lx overlaps previous sections"),
      abfd, sec, (unsigned long) sec->lma);
   adjust = 0;

The error message the text changed to print the vma, but the lma is
still printed. Shouldn't the two agree?

Good catch. Yes it should, and I have checked in a patch to do just that.


Cheers
  Nick

bfd/ChangeLog
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]