WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] as fixes for Solaris

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] as fixes for Solaris
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: Tue, 17 Oct 2006 14:46:44 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 17 Oct 2006 06:47:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C15A99A5.2A62%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20061017130816.GC5750@xxxxxxxxxxxxxxxxxxxx> <C15A99A5.2A62%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, Oct 17, 2006 at 02:31:01PM +0100, Keir Fraser wrote:

> > On sysv platforms, gas defaults '/' to a comment character. Pass in the 
> > right
> > option to disable this behaviour, so Xen's semantics of "divide" apply.
> > 
> > Signed-off-by: John Levon <john.levon@xxxxxxx>
> 
> Just fold this into your CFLAGS? I don't see a need for CAFLAGS.

Fair enough.


# HG changeset patch
# User john.levon@xxxxxxx
# Date 1161092306 25200
# Node ID edef190b7c8f296262dcc8cafa26a67664273a10
# Parent  c62830316465c3d626c4790dfca92909e273e144
On sysv platforms, gas defaults '/' to a comment character. Pass in the right
option to disable this behaviour, so Xen's semantics of "divide" apply.

Signed-off-by: John Levon <john.levon@xxxxxxx>

diff --git a/config/SunOS.mk b/config/SunOS.mk
--- a/config/SunOS.mk
+++ b/config/SunOS.mk
@@ -35,4 +35,6 @@ CFLAGS    += -g
 CFLAGS    += -g
 endif
 
+CFLAGS += -Wa,--divide
+
 CONFIG_MBOOTPACK_OS = n

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>