From: Samuel Thibault Subject: Re: ld bug causing stupid CTOR count in mini-os Date: Thu, 18 Aug 2011 01:57:15 +0200 Message-ID: <20110817235715.GT18853@type.famille.thibault.fr> References: <4E4C5462.1090504@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <4E4C5462.1090504@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Jeremy Fitzhardinge, le Wed 17 Aug 2011 16:53:06 -0700, a =E9crit : > I'm wondering, why not just terminate the loop with the NULL sentinel, > and forget about putting the count there? It looks safer than relying on correct size computation indeed. Samuel