From 6e652da4af93fc9dcddbd16fc8981cf42bccf518 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 13 Feb 2018 20:48:48 +0100 Subject: [PATCH] VMS: modify crypto/bn/asm/ia64.S to build properly On VMS, 'abort' is really 'decc$abort' Reviewed-by: Andy Polyakov (Merged from https://github.com/openssl/openssl/pull/5357) --- crypto/bn/asm/ia64.S | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crypto/bn/asm/ia64.S b/crypto/bn/asm/ia64.S index 58f7628e81..f03264d8d0 100644 --- a/crypto/bn/asm/ia64.S +++ b/crypto/bn/asm/ia64.S @@ -157,6 +157,9 @@ #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 -- 2.25.1