VMS: modify crypto/bn/asm/ia64.S to build properly
[openssl.git] / crypto / bn / asm / ia64.S
index 58f7628e81395ad9d12800be2fa58341499fa9a6..f03264d8d0cf3e065cd18f661be6bb3c08c178f7 100644 (file)
 #else
 #define        ADDP    add
 #endif
+#ifdef __VMS
+.alias abort, "decc$abort"
+#endif
 
 #if 1
 //
@@ -1428,6 +1431,7 @@ bn_div_words:
        mov             ar.ec=0         // don't rotate at exit
        mov             pr.rot=0        }
 { .mii;        mov             L=r33           // save l
+       mov             r25=r0          // needed if abort is called on VMS
        mov             r36=r0          };;
 
 .L_divw_shift: // -vv- note signed comparison