use edi rather than stack space to hide ebx PIC register #103964
authorMike Frysinger <vapier@gentoo.org>
Sat, 22 Oct 2005 05:41:05 +0000 (05:41 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 22 Oct 2005 05:41:05 +0000 (05:41 +0000)
Package-Manager: portage-2.0.53_rc6

games-emulation/ps2emu-gssoft/Manifest
games-emulation/ps2emu-gssoft/files/ps2emu-gssoft-0.9-PIC.patch

index 50570c910d0db2c1a5c20a28159e0495d6553f27..a934b3eede81231683c642b5dd0aab06a9aad5f9 100644 (file)
@@ -1,8 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 MD5 2998b790b2ed91defe961d3186a9e8e2 ChangeLog 929
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 80b16657451b98d8563044c1e5c56215 ps2emu-gssoft-0.9.ebuild 1061
-MD5 bff04080295f4bf58991f54ae1b0ff30 ps2emu-gssoft-0.6.1.ebuild 878
-MD5 630aac09a02e38ccd4fd77073b968dae files/digest-ps2emu-gssoft-0.9 58
 MD5 a1009be2d1e95d9ceaacdb2f481c82fc files/digest-ps2emu-gssoft-0.6.1 60
-MD5 0b00447cf9975807680c81734370150e files/ps2emu-gssoft-0.9-PIC.patch 534
+MD5 630aac09a02e38ccd4fd77073b968dae files/digest-ps2emu-gssoft-0.9 58
+MD5 5d3e3ce50ad2715a4711030edf18b7b3 files/ps2emu-gssoft-0.9-PIC.patch 554
 MD5 150b0f64695512493376ada8e4401757 files/ps2emu-gssoft-0.9-gentoo.patch 850
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 bff04080295f4bf58991f54ae1b0ff30 ps2emu-gssoft-0.6.1.ebuild 878
+MD5 80b16657451b98d8563044c1e5c56215 ps2emu-gssoft-0.9.ebuild 1061
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDWdEFgIKl8Uu19MoRApmjAJ4sSUWFb+ywdzm2m7JBk3RNizAKqACfd1VO
+h5aFD3sE7igRq314d7NctqA=
+=hM/e
+-----END PGP SIGNATURE-----
index 91b747e8fb80c30f6bb9684d75cf16e18a0fd415..56f16f57a328cb14d1d160543f8a08b3cbebfb82 100644 (file)
@@ -5,19 +5,19 @@ http://bugs.gentoo.org/101627
     }\r
  \r
     __asm__ __volatile__ (\r
-+      "push %%ebx\n"
++      "mov %%ebx, %%edi\n"
        "mov %4, %%eax\n"\r
        "cpuid\n"\r
        "mov %%eax, %0\n"\r
        "mov %%ebx, %1\n"\r
        "mov %%ecx, %2\n"\r
        "mov %%edx, %3\n"\r
-+      "pop %%ebx\n"
++      "mov %%edi, %%ebx\n"
        : "=m" (regs[0]), "=m" (regs[1]),\r
          "=m" (regs[2]), "=m" (regs[3])\r
        : "m"(cmd)\r
 -      : "eax", "ebx", "ecx", "edx"\r
-+      : "eax", "ecx", "edx"\r
++      : "eax", "ecx", "edx", "edi"\r
     );\r
  \r
     return 0;\r