Author: lisu                         Date: Sat Jun 23 16:40:39 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- adapted for 0.8 version (can somebody check this on ix686 arch?)

---- Files affected:
SOURCES:
   ode-asm.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/ode-asm.patch
diff -u SOURCES/ode-asm.patch:1.1 SOURCES/ode-asm.patch:1.2
--- SOURCES/ode-asm.patch:1.1   Fri Mar 25 00:36:00 2005
+++ SOURCES/ode-asm.patch       Sat Jun 23 18:40:34 2007
@@ -1,24 +1,13 @@
-diff -ruN ode-0.5./ode/src/timer.cpp ode-0.5/ode/src/timer.cpp
---- ode-0.5./ode/src/timer.cpp 2004-04-19 23:48:49.000000000 +0200
-+++ ode-0.5/ode/src/timer.cpp  2005-03-25 00:24:49.947666752 +0100
-@@ -117,9 +117,19 @@
- static inline void serialize()
- {
-   asm volatile (
-+#ifdef __PIC__
-+      "pushl %%ebx\n"
-+#endif
-       "mov $0,%%eax\n"
+--- ode-0.8/ode/src/timer.cpp~ 2007-06-23 17:48:48.000000000 +0000
++++ ode-0.8/ode/src/timer.cpp  2007-06-23 17:53:35.000000000 +0000
+@@ -129,7 +129,9 @@
+       "push %%ebx\n"
        "cpuid\n"
--      : : : "%eax","%ebx","%ecx","%edx","cc","memory");
-+#ifdef __PIC__
-+      "popl %%ebx\n"
-+#endif
+       "pop %%ebx\n"
+-      : : : "%eax","%ecx","%edx","cc","memory");
 +      : : : "%eax","%ecx","%edx","cc","memory"
-+#ifndef __PIC__
 +      , "%ebx"
-+#endif
 +      );
- }
- 
- 
+ #else
+   asm volatile (
+       "mov $0,%%rax\n"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/ode-asm.patch?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to