Date: Mon, 10 May 2004 10:17:46 -0400

From: Mike Frysinger
Subject: Re: [SDL] gcc-3.4.0 / PIC fix

here's a combined patch (yours and the one i mentioned earlier) that i tested
with gcc-3.4.0 and gcc-3.3.3
This commit is contained in:
Sam Lantinga
2004-05-16 17:19:48 +00:00
parent 356c197ebd
commit faa0e1d28b
3 changed files with 53 additions and 43 deletions

View File

@@ -138,7 +138,7 @@ static __inline__ int CPU_getCPUIDFeatures()
" movl %%edi,%%ebx\n"
: "=m" (features)
:
: "%eax", "%ebx", "%ecx", "%edx", "%edi"
: "%eax", "%ecx", "%edx", "%edi"
);
#elif defined(_MSC_VER)
__asm {
@@ -173,7 +173,7 @@ static __inline__ int CPU_getCPUIDFeaturesExt()
" movl %%edi,%%ebx\n"
: "=m" (features)
:
: "%eax", "%ebx", "%ecx", "%edx", "%edi"
: "%eax", "%ecx", "%edx", "%edi"
);
#elif defined(_MSC_VER)
__asm {