From: Keir Fraser Subject: Re: Confused about start of day setup Date: Tue, 25 Sep 2007 10:05:42 +0100 Message-ID: References: <87ve9zazts.fsf@informatik.uni-tuebingen.de> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <87ve9zazts.fsf@informatik.uni-tuebingen.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Goswin von Brederlow Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 25/9/07 09:55, "Goswin von Brederlow" wrote: > I think you ment readelf -l and no. MemSize says 1200f0 and then > 121000 is the next page. > > But it is not something I did wrong. The Mini-OS example kernel is > already broken in this way: Some versions of ld get the MemSize wrong when there are alignment constraints specified in the linker script. I'm using ld 2.15 and it appears to get this right. Which version are you using? The alignment constraints in minios's x86/64 linker script look pointless, as they add padding for sections that are not actually used. I can fix that. -- Keir