|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] RFC: which version of as/gas are you using?
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_ */
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 <=
|
|
|
|
|