diff options
author | Andy Polyakov <appro@openssl.org> | 2010-09-13 13:28:52 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2010-09-13 13:28:52 +0000 |
commit | f8927c89d00f42c4aee239cd8224fc4c7a84bd99 (patch) | |
tree | cec514fc2a63a4a7f900c11b8ded2027a66e092e /crypto/sha/asm/sha1-alpha.pl | |
parent | 3739a772e99fcb0abf2aeb4b0890fa851fc83830 (diff) |
Alpha assembler pack: adapt for Linux.
PR: 2335
Diffstat (limited to 'crypto/sha/asm/sha1-alpha.pl')
-rw-r--r-- | crypto/sha/asm/sha1-alpha.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/sha/asm/sha1-alpha.pl b/crypto/sha/asm/sha1-alpha.pl index 9d1e9435ac..6c4b9251fd 100644 --- a/crypto/sha/asm/sha1-alpha.pl +++ b/crypto/sha/asm/sha1-alpha.pl @@ -225,8 +225,12 @@ ___ } $code=<<___; +#ifdef __linux__ +#include <asm/regdef.h> +#else #include <asm.h> #include <regdef.h> +#endif .text @@ -310,6 +314,8 @@ $code.=<<___; lda sp,64(sp) ret (ra) .end sha1_block_data_order +.ascii "SHA1 block transform for Alpha, CRYPTOGAMS by <appro\@openssl.org>" +.align 2 ___ $output=shift and open STDOUT,">$output"; print $code; |