summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arm_arch.h
diff options
context:
space:
mode:
authorcvs2svn <admin@example.com>2015-03-08 16:48:49 +0000
committercvs2svn <admin@example.com>2015-03-08 16:48:49 +0000
commitdecf84ba5550c1656a7fdb51b5b81969590c3f03 (patch)
tree44872802e872bdfd60730fa9cf01d9d5751251c1 /src/lib/libcrypto/arm_arch.h
parent7a8f138352aa4eb7b65ac4b1a5fe7630fbee1427 (diff)
downloadopenbsd-libressl-v2.1.5.tar.gz
openbsd-libressl-v2.1.5.tar.bz2
openbsd-libressl-v2.1.5.zip
This commit was manufactured by cvs2git to create branch 'OPENBSD_5_7'.libressl-v2.1.5
Diffstat (limited to 'src/lib/libcrypto/arm_arch.h')
-rw-r--r--src/lib/libcrypto/arm_arch.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/src/lib/libcrypto/arm_arch.h b/src/lib/libcrypto/arm_arch.h
deleted file mode 100644
index 2ad95dc62a..0000000000
--- a/src/lib/libcrypto/arm_arch.h
+++ /dev/null
@@ -1,47 +0,0 @@
1/* $OpenBSD: arm_arch.h,v 1.6 2014/12/07 15:37:27 miod Exp $ */
2#ifndef __ARM_ARCH_H__
3#define __ARM_ARCH_H__
4
5#if !defined(__ARM_ARCH__)
6# if defined(__CC_ARM)
7# define __ARM_ARCH__ __TARGET_ARCH_ARM
8# if defined(__BIG_ENDIAN)
9# define __ARMEB__
10# else
11# define __ARMEL__
12# endif
13# elif defined(__GNUC__)
14 /*
15 * Why doesn't gcc define __ARM_ARCH__? Instead it defines
16 * bunch of below macros. See all_architectures[] table in
17 * gcc/config/arm/arm.c. On a side note it defines
18 * __ARMEL__/__ARMEB__ for little-/big-endian.
19 */
20# if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || \
21 defined(__ARM_ARCH_7R__)|| defined(__ARM_ARCH_7M__) || \
22 defined(__ARM_ARCH_7EM__)
23# define __ARM_ARCH__ 7
24# elif defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || \
25 defined(__ARM_ARCH_6K__)|| defined(__ARM_ARCH_6M__) || \
26 defined(__ARM_ARCH_6Z__)|| defined(__ARM_ARCH_6ZK__) || \
27 defined(__ARM_ARCH_6T2__)
28# define __ARM_ARCH__ 6
29# elif defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5T__) || \
30 defined(__ARM_ARCH_5E__)|| defined(__ARM_ARCH_5TE__) || \
31 defined(__ARM_ARCH_5TEJ__)
32# define __ARM_ARCH__ 5
33# elif defined(__ARM_ARCH_4__) || defined(__ARM_ARCH_4T__)
34# define __ARM_ARCH__ 4
35# else
36# error "unsupported ARM architecture"
37# endif
38# endif
39#endif
40
41#if !__ASSEMBLER__
42extern unsigned int OPENSSL_armcap_P;
43
44#define ARMV7_NEON (1<<0)
45#endif
46
47#endif