From fdf4f93e32aae1b37fbf2c5af28f5d03b62d8bc0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 22 Oct 2005 05:41:05 +0000 Subject: [PATCH] use edi rather than stack space to hide ebx PIC register #103964 Package-Manager: portage-2.0.53_rc6 --- games-emulation/ps2emu-gssoft/Manifest | 20 ++++++++++++++----- .../files/ps2emu-gssoft-0.9-PIC.patch | 6 +++--- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/games-emulation/ps2emu-gssoft/Manifest b/games-emulation/ps2emu-gssoft/Manifest index 50570c910d0d..a934b3eede81 100644 --- a/games-emulation/ps2emu-gssoft/Manifest +++ b/games-emulation/ps2emu-gssoft/Manifest @@ -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----- diff --git a/games-emulation/ps2emu-gssoft/files/ps2emu-gssoft-0.9-PIC.patch b/games-emulation/ps2emu-gssoft/files/ps2emu-gssoft-0.9-PIC.patch index 91b747e8fb80..56f16f57a328 100644 --- a/games-emulation/ps2emu-gssoft/files/ps2emu-gssoft-0.9-PIC.patch +++ b/games-emulation/ps2emu-gssoft/files/ps2emu-gssoft-0.9-PIC.patch @@ -5,19 +5,19 @@ http://bugs.gentoo.org/101627 } __asm__ __volatile__ ( -+ "push %%ebx\n" ++ "mov %%ebx, %%edi\n" "mov %4, %%eax\n" "cpuid\n" "mov %%eax, %0\n" "mov %%ebx, %1\n" "mov %%ecx, %2\n" "mov %%edx, %3\n" -+ "pop %%ebx\n" ++ "mov %%edi, %%ebx\n" : "=m" (regs[0]), "=m" (regs[1]), "=m" (regs[2]), "=m" (regs[3]) : "m"(cmd) - : "eax", "ebx", "ecx", "edx" -+ : "eax", "ecx", "edx" ++ : "eax", "ecx", "edx", "edi" ); return 0; -- 2.26.2