This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: No error for Linker Section Overlapping
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Deepen Mantri <Deepen dot Mantri at kpitcummins dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 14 Apr 2007 10:57:36 +0930
- Subject: Re: No error for Linker Section Overlapping
- References: <B9D27836A814694B95A1C294F7145766582C44@sohm.kpit.com>
On Thu, Apr 12, 2007 at 06:51:26PM +0530, Deepen Mantri wrote:
> What is the benefit of assigning distinct LMAs to the non-overlay
> sections having overlapped VMAs?
The changes to lma assignment made using overlays considerably
simpler. In particular, sections following an overlay area now
don't need their LMAs set.
> Is there any way to generate an overlapping error for
> non-overlay/non-loadable
> sections (such as .bss section),if there VMAs get overlapped?
Assign the LMA as well as the VMA.
--
Alan Modra
IBM OzLabs - Linux Technology Centre