From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH v2 2/5] compat: enforce distinguishable file names in symbol table Date: Wed, 28 Oct 2015 13:08:16 +0000 Message-ID: <5630C8C0.8000709@citrix.com> References: <562E12E802000078000AE785@prv-mh.provo.novell.com> <562E21AF02000078000AE8A3@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZrQSn-0008Kb-0Z for xen-devel@lists.xenproject.org; Wed, 28 Oct 2015 13:08:25 +0000 In-Reply-To: <562E21AF02000078000AE8A3@prv-mh.provo.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 , xen-devel Cc: Ian Campbell , Keir Fraser , Ian Jackson , Tim Deegan List-Id: xen-devel@lists.xenproject.org On 26/10/15 11:50, Jan Beulich wrote: > To make it possible to tell apart the static symbols in files built a > second for compat guest support, arrange for their source file names to > be prefixed by a suitable path. We can't do this without explicit .file > directives, since gcc has always been stripping paths from file names > handed to the internally generated .file directive. However, we can > leverage __FILE__ if we make sure the second instance gets compiled out > of other than the very directory the wrapper sits in. > > Where suitable, remove the long redundant explicit inclusions of > xen/config.h at once. > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper