diff options
author | Ralf S. Engelschall <rse@openssl.org> | 1998-12-21 10:52:47 +0000 |
---|---|---|
committer | Ralf S. Engelschall <rse@openssl.org> | 1998-12-21 10:52:47 +0000 |
commit | d02b48c63a58ea4367a0e905979f140b7d090f86 (patch) | |
tree | 504f62ed3d84799f785b9cd9fab255a21b0e1b0e /crypto/des/asm/cx86unix.cpp | |
download | openssl-d02b48c63a58ea4367a0e905979f140b7d090f86.tar.gz |
Import of old SSLeay release: SSLeay 0.8.1b
Diffstat (limited to 'crypto/des/asm/cx86unix.cpp')
-rw-r--r-- | crypto/des/asm/cx86unix.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/crypto/des/asm/cx86unix.cpp b/crypto/des/asm/cx86unix.cpp new file mode 100644 index 0000000000..90f87c95ef --- /dev/null +++ b/crypto/des/asm/cx86unix.cpp @@ -0,0 +1,35 @@ + +#define TYPE(a,b) .type a,b +#define SIZE(a,b) .size a,b + +#ifdef OUT +#define OK 1 +#define des_SPtrans _des_SPtrans +#define fcrypt_body _fcrypt_body +#define ALIGN 4 +#endif + +#ifdef BSDI +#define OK 1 +#define des_SPtrans _des_SPtrans +#define fcrypt_body _fcrypt_body +#define ALIGN 4 +#undef SIZE +#undef TYPE +#endif + +#if defined(ELF) || defined(SOL) +#define OK 1 +#define ALIGN 16 +#endif + +#ifndef OK +You need to define one of +ELF - elf systems - linux-elf, NetBSD and DG-UX +OUT - a.out systems - linux-a.out and FreeBSD +SOL - solaris systems, which are elf with strange comment lines +BSDI - a.out with a very primative version of as. +#endif + +#include "cx86-cpp.s" + |