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: No error for Linker Section Overlapping


On Thu, Apr 19, 2007 at 09:12:23PM +0530, Deepen Mantri wrote:
> 1. Error prints the LMA addresses instead of VMA addresses when VMAs of
>    the sections overlap. This might create confusion.	

VMA == LMA except when using overlays or when assigning LMA in the
linker script.  I don't think the error message is worth changing.

> 2. Also the allocation of the LMA address to non-loadable sections 	
>    (such as ".bss" section) is not prevented.	

Why is this a problem?  Changing this as you have done will break
other code in the linker, eg. _bfd_elf_map_sections_to_segments.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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