projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43760a2
)
armcap.c: auto-setup processor capability vector.
author
Andy Polyakov
<appro@openssl.org>
Thu, 20 Oct 2011 20:52:26 +0000
(20:52 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Thu, 20 Oct 2011 20:52:26 +0000
(20:52 +0000)
crypto/armcap.c
patch
|
blob
|
history
diff --git
a/crypto/armcap.c
b/crypto/armcap.c
index 74c2c5729595008a464c8ae6e4a3a92c393d6b8c..8dbd7410878a8c36f019475dc807a8165cd8d29f 100644
(file)
--- a/
crypto/armcap.c
+++ b/
crypto/armcap.c
@@
-29,6
+29,9
@@
unsigned int OPENSSL_rdtsc(void)
return 0;
}
+#if defined(__GNUC__) && __GNUC__>=2
+void OPENSSL_cpuid_setup(void) __attribute__((constructor))
+#endif
void OPENSSL_cpuid_setup(void)
{
char *e;