Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 94101 Details for
Bug 140721
[gcc41] app-arch/rpm-4.2-r2 stable request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
rpm-4.2.1-pic.patch
rpm-4.2.1-pic.patch (text/plain), 1.33 KB, created by
Ryan Hill (RETIRED)
on 2006-08-12 16:40:47 UTC
(
hide
)
Description:
rpm-4.2.1-pic.patch
Filename:
MIME Type:
Creator:
Ryan Hill (RETIRED)
Created:
2006-08-12 16:40:47 UTC
Size:
1.33 KB
patch
obsolete
>diff -Naurp rpm-4.2.1-orig/lib/rpmrc.c rpm-4.2.1/lib/rpmrc.c >--- rpm-4.2.1-orig/lib/rpmrc.c 2006-08-12 17:36:44.000000000 -0600 >+++ rpm-4.2.1/lib/rpmrc.c 2006-08-12 17:38:38.000000000 -0600 >@@ -892,7 +892,7 @@ static inline void cpuid(unsigned int op > #ifdef __LCLINT__ > *eax = *ebx = *ecx = *edx = 0; > #endif >-#ifdef PIC >+#ifdef __PIC__ > __asm__("pushl %%ebx; cpuid; movl %%ebx,%1; popl %%ebx" > : "=a"(*eax), "=g"(*ebx), "=&c"(*ecx), "=&d"(*edx) > : "a" (op)); >@@ -912,7 +912,7 @@ static inline unsigned int cpuid_eax(uns > { > unsigned int val; > >-#ifdef PIC >+#ifdef __PIC__ > __asm__("pushl %%ebx; cpuid; popl %%ebx" > : "=a" (val) : "a" (op) : "ecx", "edx"); > #else >@@ -927,7 +927,7 @@ static inline unsigned int cpuid_ebx(uns > { > unsigned int tmp, val; > >-#ifdef PIC >+#ifdef __PIC__ > __asm__("pushl %%ebx; cpuid; movl %%ebx,%1; popl %%ebx" > : "=a" (tmp), "=g" (val) : "a" (op) : "ecx", "edx"); > #else >@@ -941,7 +941,7 @@ static inline unsigned int cpuid_ecx(uns > /*@*/ > { > unsigned int tmp, val; >-#ifdef PIC >+#ifdef __PIC__ > __asm__("pushl %%ebx; cpuid; popl %%ebx" > : "=a" (tmp), "=c" (val) : "a" (op) : "edx"); > #else >@@ -956,7 +956,7 @@ static inline unsigned int cpuid_edx(uns > /*@*/ > { > unsigned int tmp, val; >-#ifdef PIC >+#ifdef __PIC__ > __asm__("pushl %%ebx; cpuid; popl %%ebx" > : "=a" (tmp), "=d" (val) : "a" (op) : "ecx"); > #else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 140721
:
94100
| 94101