summaryrefslogtreecommitdiffstats
path: root/crypto/bn
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-02-13 20:48:48 +0100
committerRichard Levitte <levitte@openssl.org>2018-02-14 17:13:53 +0100
commit6e652da4af93fc9dcddbd16fc8981cf42bccf518 (patch)
tree1278aea04bf6f371a7d49dfee8630f9aab87f7a0 /crypto/bn
parentab7134eff591b0996578ebb881a165eb527e1810 (diff)
VMS: modify crypto/bn/asm/ia64.S to build properly
On VMS, 'abort' is really 'decc$abort' Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5357)
Diffstat (limited to 'crypto/bn')
-rw-r--r--crypto/bn/asm/ia64.S4
1 files changed, 4 insertions, 0 deletions
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