From: Ian Campbell Subject: Re: [PATCH v2] asm-offsets: encode magic asm-offset runes as strings. Date: Thu, 3 Apr 2014 17:25:39 +0100 Message-ID: <1396542339.4211.136.camel@kazak.uk.xensource.com> References: <1395766541-23979-1-git-send-email-julien.grall@linaro.org> <1395766541-23979-3-git-send-email-julien.grall@linaro.org> <5332CDE00200007800002490@nat28.tlf.novell.com> <20140326131625.GB7885@deinos.phlegethon.org> <5332ED80.5070305@linaro.org> <533300BC02000078000027D4@nat28.tlf.novell.com> <20140327180134.GN91759@deinos.phlegethon.org> <53353D9202000078000033F6@nat28.tlf.novell.com> <20140328112854.GB87844@deinos.phlegethon.org> <53356D990200007800003595@nat28.tlf.novell.com> <20140403160747.GL38209@deinos.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WVkSX-000765-Kc for xen-devel@lists.xenproject.org; Thu, 03 Apr 2014 16:25:45 +0000 In-Reply-To: <20140403160747.GL38209@deinos.phlegethon.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tim Deegan Cc: xen-devel@lists.xenproject.org, Keir Fraser , Julien Grall , stefano.stabellini@citrix.com, Jan Beulich List-Id: xen-devel@lists.xenproject.org On Thu, 2014-04-03 at 18:07 +0200, Tim Deegan wrote: > Newer versions of clang attempt to parse inline assembler even when > not asked to assemble it. Wrap our not-for-assembly runes as strings > of the form ``.ascii "==>MAGIC RUNES<=="'' so clang doesn't choke on > them. > > While we're at it, assemble more of the final output line in the C > file, to make the sed expression shorter. > > Reported-by: Julien Grall > Suggested-by: Jan Beulich > Signed-off-by: Tim Deegan For ARM size, assuming you've build tested it: Acked-by: Ian Campbell Ian.