From: Ian Campbell Subject: Re: [PATCH] coverage: fix on ARM Date: Fri, 22 Feb 2013 11:24:51 +0000 Message-ID: <1361532291.26546.118.camel@zakaz.uk.xensource.com> References: <1361530660-626-1-git-send-email-ian.campbell@citrix.com> <512761A202000078000C0589@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <512761A202000078000C0589@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Frediano Ziglio , "Keir (Xen.org)" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Fri, 2013-02-22 at 11:16 +0000, Jan Beulich wrote: > >>> On 22.02.13 at 11:57, Ian Campbell wrote: > > --- a/xen/arch/arm/xen.lds.S > > +++ b/xen/arch/arm/xen.lds.S > > @@ -91,12 +91,10 @@ SECTIONS > > *(.init.data.rel) > > *(.init.data.rel.*) > > > > - . = ALIGN(4); > > - __CTOR_LIST__ = .; > > - LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) > > - *(.ctors) > > - LONG(0) > > - __CTOR_END__ = .; > > + . = ALIGN(8); > > + __ctors_start = .; > > + *(.init_array) > > Is this renaming from .ctors to .init_array really intended (i.e. was > using .ctors here wrong)? Yes, I mentioned it in the commit message, it is called .init_array on ARM for whatever reason. Probably either historical accident or compatibility eg. with ARM's compilers. Ian.