This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Strange LMA/VMA behavior with regions
- From: Alan Modra <amodra at gmail dot com>
- To: Abnikant Singh <abnikant at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 11 May 2011 17:15:07 +0930
- Subject: Re: Strange LMA/VMA behavior with regions
- References: <BANLkTi=e+AhsB8vTZykyb7deu7rajvFCRw@mail.gmail.com>
On Wed, May 11, 2011 at 12:50:31PM +0530, Abnikant Singh wrote:
> .text_os ALIGN(8) :
This says to set the address of the output section .text_os. When you
set the address, any input section alignment is ignored. This happens
for LMA too. The fact that your address uses the ALIGN keyword
doesn't mean anything, you are not setting alignment..
> .text_os ALIGN(8) : ALIGN(8)
as you do here.
--
Alan Modra
Australia Development Lab, IBM