mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
net-libs/nativebiginteger: drop old patch
Closes: https://bugs.gentoo.org/728808 Package-Manager: Portage-3.0.4, Repoman-2.3.23 Signed-off-by: Valérian Rousset <tharvik@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
--- c/jcpuid/src/jcpuid.c 2008-10-06 09:44:53.000000000 -0400
|
||||
+++ c/jcpuid/src/jcpuid.c.new2 2010-12-27 09:41:53.000000000 -0500
|
||||
@@ -19,6 +19,7 @@
|
||||
mov d, edx
|
||||
}
|
||||
#else
|
||||
+ #ifdef _LP64
|
||||
//Use GCC assembler notation
|
||||
asm
|
||||
(
|
||||
@@ -29,6 +30,20 @@
|
||||
"=d"(d)
|
||||
:"a"(iFunction)
|
||||
);
|
||||
+ #elif defined(__i386__)
|
||||
+ asm
|
||||
+ (
|
||||
+ "pushl %%ebx\n\t"
|
||||
+ "cpuid\n\t"
|
||||
+ "movl %%ebx, %%edi\n\t"
|
||||
+ "popl %%ebx"
|
||||
+ : "=a" (a),
|
||||
+ "=D" (b),
|
||||
+ "=c" (c),
|
||||
+ "=d" (d)
|
||||
+ :"a"(iFunction)
|
||||
+ );
|
||||
+ #endif
|
||||
#endif
|
||||
return (*env)->NewObject(env, clsResult,constructor,a,b,c,d);
|
||||
}
|
||||
Reference in New Issue
Block a user