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-ia64-devel

[Xen-ia64-devel] RFC: which version of as/gas are you using?

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] RFC: which version of as/gas are you using?
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Mon, 24 Apr 2006 17:41:40 +0200
Delivery-date: Mon, 24 Apr 2006 08:37:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Hi,

In order to remove some warnings from as, we need to enable the .serialize 
directive. 
Unfortunatly this directive is not available in old verion of gas (before 1.15 
?).

RHEL4 gas supports it.

If we want to use the directive, everybody should either use a recent enough
distribution or a recent enough gas.

[I don't want to autotest or use configure].

Here is the patch if you want to test.

Comments are welcome.

Tristan.

diff -r f9ffc95fbd42 xen/arch/ia64/xen/hyperprivop.S
--- a/xen/arch/ia64/xen/hyperprivop.S   Mon Apr 24 05:55:06 2006
+++ b/xen/arch/ia64/xen/hyperprivop.S   Mon Apr 24 13:06:10 2006
@@ -2076,7 +2076,6 @@
 (p6)   itc.d r22;;
 (p7)   itc.i r22;;
        dv_serialize_data
-       // FIXME: how do I make assembler warnings go away here?
        // vhpt_insert(r23=vaddr,r22=pte,r24=logps<<2)
        thash r28=r23
        or r26=1,r22;;
diff -r f9ffc95fbd42 xen/include/asm-ia64/config.h
--- a/xen/include/asm-ia64/config.h     Mon Apr 24 05:55:06 2006
+++ b/xen/include/asm-ia64/config.h     Mon Apr 24 13:06:10 2006
@@ -283,4 +283,8 @@
 #define FORCE_CRASH    break.m 0;;
 #endif
 
+/* Allow .serialize.data/instruction in asm files.
+   Old as doesn't handle this.  */
+#define HAVE_SERIALIZE_DIRECTIVE
+
 #endif /* _IA64_CONFIG_H_ */

Attachment: xen-warn4.patch
Description: Text Data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] RFC: which version of as/gas are you using?, Tristan Gingold <=