Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 63309 Details for
Bug 96395
avidemux 2.0.40 compile hardened pic gcc O3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
avidemux-2.0.40-pic.patch
avidemux-2.0.40-pic.patch (text/plain), 4.85 KB, created by
Diego Elio Pettenò (RETIRED)
on 2005-07-13 06:10:53 UTC
(
hide
)
Description:
avidemux-2.0.40-pic.patch
Filename:
MIME Type:
Creator:
Diego Elio Pettenò (RETIRED)
Created:
2005-07-13 06:10:53 UTC
Size:
4.85 KB
patch
obsolete
>diff -ur -x '*~' avidemux-2.0.40/adm_lavcodec/i386/dsputil_mmx_avg.h avidemux-2.0.40-pic/adm_lavcodec/i386/dsputil_mmx_avg.h >--- avidemux-2.0.40/adm_lavcodec/i386/dsputil_mmx_avg.h 2004-10-12 20:28:57.000000000 +0200 >+++ avidemux-2.0.40-pic/adm_lavcodec/i386/dsputil_mmx_avg.h 2005-07-13 15:01:14.802609160 +0200 >@@ -90,7 +90,7 @@ > "add $16, %2 \n\t" > "subl $4, %0 \n\t" > "jnz 1b \n\t" >-#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used >+#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used > :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst) > #else > :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst) >@@ -137,7 +137,7 @@ > "add $32, %2 \n\t" > "subl $4, %0 \n\t" > "jnz 1b \n\t" >-#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used >+#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used > :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst) > #else > :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst) >@@ -207,7 +207,7 @@ > "add $32, %2 \n\t" > "subl $4, %0 \n\t" > "jnz 1b \n\t" >-#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used >+#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used > :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst) > #else > :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst) >@@ -262,7 +262,7 @@ > "add $16, %2 \n\t" > "subl $4, %0 \n\t" > "jnz 1b \n\t" >-#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used >+#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used > :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst) > #else > :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst) >@@ -314,7 +314,7 @@ > "add $32, %2 \n\t" > "subl $4, %0 \n\t" > "jnz 1b \n\t" >-#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used >+#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used > :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst) > #else > :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst) >@@ -402,7 +402,7 @@ > "add $32, %2 \n\t" > "subl $2, %0 \n\t" > "jnz 1b \n\t" >-#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used >+#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used > :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst) > #else > :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst) >@@ -456,7 +456,7 @@ > "add $32, %2 \n\t" > "subl $2, %0 \n\t" > "jnz 1b \n\t" >-#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used >+#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used > :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst) > #else > :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst) >@@ -529,7 +529,7 @@ > "add $32, %2 \n\t" > "subl $2, %0 \n\t" > "jnz 1b \n\t" >-#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used >+#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used > :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst) > #else > :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst) >diff -ur -x '*~' avidemux-2.0.40/adm_lavcodec/i386/dsputil_mmx.c avidemux-2.0.40-pic/adm_lavcodec/i386/dsputil_mmx.c >--- avidemux-2.0.40/adm_lavcodec/i386/dsputil_mmx.c 2005-04-23 11:25:58.000000000 +0200 >+++ avidemux-2.0.40-pic/adm_lavcodec/i386/dsputil_mmx.c 2005-07-13 15:00:27.561790856 +0200 >@@ -59,7 +59,7 @@ > "pcmpeqd %%" #regd ", %%" #regd " \n\t"\ > "paddb %%" #regd ", %%" #regd " \n\t" ::) > >-#ifndef PIC >+#ifndef __PIC__ > #define MOVQ_BONE(regd) __asm __volatile ("movq %0, %%" #regd " \n\t" ::"m"(mm_bone)) > #define MOVQ_WTWO(regd) __asm __volatile ("movq %0, %%" #regd " \n\t" ::"m"(mm_wtwo)) > #else >diff -ur -x '*~' avidemux-2.0.40/adm_lavcodec/i386/dsputil_mmx_rnd.h avidemux-2.0.40-pic/adm_lavcodec/i386/dsputil_mmx_rnd.h >--- avidemux-2.0.40/adm_lavcodec/i386/dsputil_mmx_rnd.h 2004-10-12 20:28:57.000000000 +0200 >+++ avidemux-2.0.40-pic/adm_lavcodec/i386/dsputil_mmx_rnd.h 2005-07-13 15:01:22.703408056 +0200 >@@ -96,7 +96,7 @@ > "add %5, %3 \n\t" > "subl $4, %0 \n\t" > "jnz 1b \n\t" >-#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used >+#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used > :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst) > #else > :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst) >@@ -191,7 +191,7 @@ > "add $32, %2 \n\t" > "subl $2, %0 \n\t" > "jnz 1b \n\t" >-#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used >+#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used > :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst) > #else > :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
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 96395
: 63309