SOURCES: ortp-i486.patch (NEW) - no rdtsc on i[34]86

qboosh qboosh at pld-linux.org
Sun Feb 17 22:07:32 CET 2008


Author: qboosh                       Date: Sun Feb 17 21:07:32 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- no rdtsc on i[34]86

---- Files affected:
SOURCES:
   ortp-i486.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ortp-i486.patch
diff -u /dev/null SOURCES/ortp-i486.patch:1.1
--- /dev/null	Sun Feb 17 22:07:32 2008
+++ SOURCES/ortp-i486.patch	Sun Feb 17 22:07:26 2008
@@ -0,0 +1,11 @@
+--- ortp-0.13.1/src/stun.c.orig	2007-03-11 21:13:36.000000000 +0100
++++ ortp-0.13.1/src/stun.c	2008-02-17 22:00:38.358282506 +0100
+@@ -756,7 +756,7 @@
+       tick <<= 32;
+       tick |= lowtick;
+       }
+-#elif defined(__GNUC__) && ( defined(__i686__) || defined(__i386__) )
++#elif defined(__GNUC__) && ( defined(__i686__) || defined(__i586__) || defined(__pentium4__) || defined(__athlon__) )
+       asm("rdtsc" : "=A" (tick));
+ #elif defined(__GNUC__) && defined(__amd64__)
+       asm("rdtsc" : "=A" (tick));
================================================================


More information about the pld-cvs-commit mailing list