From 546b2718f2989ea70db14f78935d6a73721d133c Mon Sep 17 00:00:00 2001 From: amateja Date: Thu, 28 May 2009 11:07:23 +0000 Subject: [PATCH] - adjusted for 3.3.2 Changed files: cryptlib-rdtsc.patch -> 1.2 --- cryptlib-rdtsc.patch | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/cryptlib-rdtsc.patch b/cryptlib-rdtsc.patch index 5d90946..d6ebc2f 100644 --- a/cryptlib-rdtsc.patch +++ b/cryptlib-rdtsc.patch @@ -1,13 +1,11 @@ ---- cryptlib-3.3.1/random/unix.c.orig 2007-02-01 01:09:22.000000000 +0100 -+++ cryptlib-3.3.1/random/unix.c 2008-01-08 19:22:02.784685129 +0100 -@@ -102,8 +102,8 @@ +--- cryptlib-3.3.2/random/unix.c.orig 2009-05-12 09:26:50.541650042 +0200 ++++ cryptlib-3.3.2/random/unix.c 2009-05-12 09:36:43.777835448 +0200 +@@ -106,7 +106,7 @@ #if !( defined( __QNX__ ) || defined( __CYGWIN__ ) ) #include #endif /* QNX || Cygwin */ -#if defined( __linux__ ) && ( defined(__i386__) || defined(__x86_64__) ) -- #include /* For rdtsc() */ +#if defined( __linux__ ) && ( defined(__i586__) || defined(__i686__) || defined(__pentium4__) || defined(__athlon__) || defined(__x86_64__) ) -+ #define rdtscl(low) __asm__ __volatile__("rdtsc" : "=a" (low) : : "edx") + #include /* For rdtsc() */ #endif /* Linux on x86 */ #include - #include -- 2.44.0