From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19399 invoked by alias); 14 Apr 2007 01:27:52 -0000 Received: (qmail 19388 invoked by uid 22791); 14 Apr 2007 01:27:51 -0000 X-Spam-Check-By: sourceware.org Received: from omta03ps.mx.bigpond.com (HELO omta03ps.mx.bigpond.com) (144.140.82.155) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 14 Apr 2007 02:27:44 +0100 Received: from oaamta03ps.mx.bigpond.com ([144.136.165.71]) by omta03ps.mx.bigpond.com with ESMTP id <20070414012737.UATM8709.omta03ps.mx.bigpond.com@oaamta03ps.mx.bigpond.com>; Sat, 14 Apr 2007 01:27:37 +0000 Received: from bubble.grove.modra.org ([144.136.165.71]) by oaamta03ps.mx.bigpond.com with ESMTP id <20070414012736.NZTA24764.oaamta03ps.mx.bigpond.com@bubble.grove.modra.org>; Sat, 14 Apr 2007 01:27:36 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id A5001331675; Sat, 14 Apr 2007 10:57:36 +0930 (CST) Date: Sat, 14 Apr 2007 01:42:00 -0000 From: Alan Modra To: Deepen Mantri Cc: binutils@sources.redhat.com Subject: Re: No error for Linker Section Overlapping Message-ID: <20070414012736.GP28088@bubble.grove.modra.org> Mail-Followup-To: Deepen Mantri , binutils@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00187.txt.bz2 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