From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1592 invoked by alias); 26 Jan 2011 08:10:27 -0000 Received: (qmail 1571 invoked by uid 22791); 26 Jan 2011 08:10:21 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-px0-f169.google.com (HELO mail-px0-f169.google.com) (209.85.212.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Jan 2011 08:10:17 +0000 Received: by pxi12 with SMTP id 12so42076pxi.0 for ; Wed, 26 Jan 2011 00:10:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.231.3 with SMTP id d3mr40844wfh.255.1296029415950; Wed, 26 Jan 2011 00:10:15 -0800 (PST) Received: by 10.143.28.20 with HTTP; Wed, 26 Jan 2011 00:10:15 -0800 (PST) In-Reply-To: References: Date: Wed, 26 Jan 2011 08:10:00 -0000 Message-ID: Subject: Re: The meaning of LMA and location counter in GNU ld From: ali hagigat To: Ian Lance Taylor , binutils@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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: 2011-01/txt/msg00354.txt.bz2 3.6.8.2 Output Section LMA If neither AT nor AT> is specified for an allocatable section, the linker will set the LMA such that the difference between VMA and LMA for the section is the same as the preceding output section in the same region. --------------------------------------------------------------- I wonder if you can give an example regarding to the above lines of the manual.