From: Richard Levitte Date: Tue, 13 Feb 2018 19:48:48 +0000 (+0100) Subject: VMS: modify crypto/bn/asm/ia64.S to build properly X-Git-Tag: OpenSSL_1_1_1-pre2~149 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6e652da4af93fc9dcddbd16fc8981cf42bccf518;p=oweals%2Fopenssl.git 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) --- 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