]> git.pld-linux.org Git - packages/valgrind.git/commitdiff
- handle REP RET
authorwolf <wolf@pld-linux.org>
Sat, 13 Aug 2005 12:48:32 +0000 (12:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    valgrind-repret.patch -> 1.1
    valgrind.spec -> 1.49

valgrind-repret.patch [new file with mode: 0644]
valgrind.spec

diff --git a/valgrind-repret.patch b/valgrind-repret.patch
new file mode 100644 (file)
index 0000000..4969ab5
--- /dev/null
@@ -0,0 +1,21 @@
+Index: priv/guest-x86/toIR.c
+===================================================================
+--- VEX/priv/guest-x86/toIR.c  (wersja 1331)
++++ VEX/priv/guest-x86/toIR.c  (wersja 1332)
+@@ -11353,11 +11353,11 @@
+          dres.whatNext = Dis_StopHere;
+          break;
+-//--       case 0xC3:           /* REP RET */
+-//--          /* AMD K7/K8-specific optimisation; faster than vanilla RET */
+-//--          dis_ret(cb, 0);
+-//--          DIP("rep ret\n");
+-//--          break;
++      case 0xC3:           /* REP RET -- same as normal ret? */
++         dis_ret(0);
++         dres.whatNext = Dis_StopHere;
++         DIP("rep ret\n");
++         break;
+       default:
+          goto decode_failure;
index 14b87fa1fd12d1ffc4cbf6c416f9dfec1c7a1e6a..293f069d2b12008796f8ecf3421612515461e5ba 100644 (file)
@@ -8,6 +8,7 @@ License:        GPL
 Group:         Development/Tools
 Source0:       http://valgrind.org/downloads/%{name}-%{version}.tar.bz2
 # Source0-md5: e976a343c61d9505162f595a8aeb09c1
+Patch0:                %{name}-repret.patch
 URL:           http://valgrind.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -42,6 +43,7 @@ profilowanie, dzi
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 %{__aclocal}
This page took 0.05596 seconds and 4 git commands to generate.