This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch] Fix compilation of libgcc/config/alpha/qrnnd.S on VMS
- From: Tristan Gingold <gingold at adacore dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Richard Henderson <rth at redhat dot com>
- Date: Tue, 15 Nov 2011 12:58:05 +0100
- Subject: [Patch] Fix compilation of libgcc/config/alpha/qrnnd.S on VMS
Hi,
latest versions of gas are picky about the use of the pseudos. Consequently we need to adjust them in qrnnd.S.
Tested by building gcc for alpha-vms.
Ok for the trunk ?
Tristan.
2011-11-07 Tristan Gingold <gingold@adacore.com>
* config/alpha/qrnnd.S: Use specific pseudos for VMS.
diff --git a/libgcc/config/alpha/qrnnd.S b/libgcc/config/alpha/qrnnd.S
index 51b13bc..794cf65 100644
--- a/libgcc/config/alpha/qrnnd.S
+++ b/libgcc/config/alpha/qrnnd.S
@@ -33,9 +33,15 @@
.globl __udiv_qrnnd
.ent __udiv_qrnnd
+#ifdef __VMS__
+__udiv_qrnnd..en:
+ .frame $29,0,$26,0
+ .prologue
+#else
__udiv_qrnnd:
.frame $30,0,$26,0
.prologue 0
+#endif
#define cnt $2
#define tmp $3
@@ -160,4 +166,10 @@ $Odd:
bis $31,n0,$0
ret $31,($26),1
+#ifdef __VMS__
+ .link
+ .align 3
+__udiv_qrnnd:
+ .pdesc __udiv_qrnnd..en,null
+#endif
.end __udiv_qrnnd